oops tls-sprint
authorsylvain.thenault@logilab.fr
Tue, 17 Feb 2009 17:46:17 +0100
branchtls-sprint
changeset 682 d95936d6ce5c
parent 681 7cb402fa3958
child 683 4f4a34346e9b
oops
vregistry.py
--- a/vregistry.py	Tue Feb 17 17:46:13 2009 +0100
+++ b/vregistry.py	Tue Feb 17 17:46:17 2009 +0100
@@ -253,7 +253,7 @@
             vobjects = registry.setdefault(oid, [])
         # registered() is technically a classmethod but is not declared
         # as such because we need to compose registered in some cases
-        vobject = obj.registered.im_func(cls, self)
+        vobject = obj.registered.im_func(obj, self)
         assert not vobject in vobjects
         vobjects.append(vobject)
         try: