[pypy-svn] r60065 - pypy/trunk/pypy/rpython

fijal at codespeak.net fijal at codespeak.net
Sat Nov 22 13:56:23 CET 2008


Author: fijal
Date: Sat Nov 22 13:56:21 2008
New Revision: 60065

Modified:
   pypy/trunk/pypy/rpython/extregistry.py
Log:
2.6 fix, thanks fredreichbier


Modified: pypy/trunk/pypy/rpython/extregistry.py
==============================================================================
--- pypy/trunk/pypy/rpython/extregistry.py	(original)
+++ pypy/trunk/pypy/rpython/extregistry.py	Sat Nov 22 13:56:21 2008
@@ -6,7 +6,7 @@
 class AutoRegisteringType(type):
 
     def __init__(selfcls, name, bases, dict):
-        super(AutoRegisteringType, selfcls).__init__(name, bases, dict)
+        super(AutoRegisteringType, selfcls).__init__(selfcls, name, bases, dict)
         if '_about_' in dict:
             selfcls._register_value(dict['_about_'])
             del selfcls._about_   # avoid keeping a ref



More information about the Pypy-commit mailing list