[pypy-svn] r15147 - pypy/dist/pypy/rpython

arigo at codespeak.net arigo at codespeak.net
Tue Jul 26 20:40:36 CEST 2005


Author: arigo
Date: Tue Jul 26 20:40:36 2005
New Revision: 15147

Modified:
   pypy/dist/pypy/rpython/rmodel.py
Log:
Oups!


Modified: pypy/dist/pypy/rpython/rmodel.py
==============================================================================
--- pypy/dist/pypy/rpython/rmodel.py	(original)
+++ pypy/dist/pypy/rpython/rmodel.py	Tue Jul 26 20:40:36 2005
@@ -74,7 +74,7 @@
         # Assume that when an attribute is missing, it's because setup() needs
         # to be called
         if not (name[:2] == '__' == name[-2:]): 
-            if self._initialized != setupstate.NOTINITIALIZED: 
+            if self._initialized == setupstate.NOTINITIALIZED: 
                 self.setup()
                 try:
                     return self.__dict__[name]



More information about the Pypy-commit mailing list