[pypy-svn] r62040 - pypy/trunk/pypy/module/_winreg

afa at codespeak.net afa at codespeak.net
Fri Feb 20 01:29:08 CET 2009


Author: afa
Date: Fri Feb 20 01:29:08 2009
New Revision: 62040

Modified:
   pypy/trunk/pypy/module/_winreg/interp_winreg.py
Log:
translation fix


Modified: pypy/trunk/pypy/module/_winreg/interp_winreg.py
==============================================================================
--- pypy/trunk/pypy/module/_winreg/interp_winreg.py	(original)
+++ pypy/trunk/pypy/module/_winreg/interp_winreg.py	Fri Feb 20 01:29:08 2009
@@ -21,7 +21,7 @@
     descr_del.unwrap_spec = ['self', ObjSpace]
 
     def descr_nonzero(self, space):
-        return self.wrap(self.hkey != 0)
+        return space.wrap(self.hkey != 0)
     descr_nonzero.unwrap_spec = ['self', ObjSpace]
 
     def descr_repr(self, space):



More information about the Pypy-commit mailing list