vregistry.py
branch3.5
changeset 3071 6ad4e6d4df86
parent 3044 27ded3bbd105
parent 3054 8b3b243e308e
child 3072 6fb42c53f6df
child 3565 4db55832e8a9
--- a/vregistry.py	Fri Aug 28 16:28:26 2009 +0200
+++ b/vregistry.py	Mon Aug 31 18:59:10 2009 +0200
@@ -284,10 +284,11 @@
                 if obj.__module__ != modname or obj in butclasses:
                     continue
                 oid = obj.id
+                registryname = obj.__registry__
             except AttributeError:
                 continue
             if oid and not '__abstract__' in obj.__dict__:
-                self.register(obj)
+                self.register(obj, registryname)
 
     def register(self, obj, registryname=None, oid=None, clear=False):
         """base method to add an object in the registry"""