[pypy-svn] r29735 - pypy/dist/pypy/rpython/ootypesystem

antocuni at codespeak.net antocuni at codespeak.net
Fri Jul 7 14:30:33 CEST 2006


Author: antocuni
Date: Fri Jul  7 14:30:32 2006
New Revision: 29735

Modified:
   pypy/dist/pypy/rpython/ootypesystem/rclass.py
Log:
typo



Modified: pypy/dist/pypy/rpython/ootypesystem/rclass.py
==============================================================================
--- pypy/dist/pypy/rpython/ootypesystem/rclass.py	(original)
+++ pypy/dist/pypy/rpython/ootypesystem/rclass.py	Fri Jul  7 14:30:32 2006
@@ -460,7 +460,7 @@
                         warning("prebuilt instance %r has no attribute %r" % (
                                 value, name))
                         continue
-                    llattrvalue = r.convert_desc_or_const(attrvalue)
+                    llattrvalue = self.allfields[mangled].convert_desc_or_const(attrvalue)
                 else:
                     llattrvalue = self.allfields[mangled].convert_const(attrvalue)
             setattr(result, mangled, llattrvalue)



More information about the Pypy-commit mailing list