vregistry.py
branchtls-sprint
changeset 682 d95936d6ce5c
parent 673 64c50cb17d70
child 686 6a1f4210ee4c
--- 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: