vregistry.py
branchtls-sprint
changeset 1046 52ee022d87e3
parent 946 a130b5ceeca9
child 1149 1e19b6ef53a1
--- a/vregistry.py	Wed Mar 11 11:02:32 2009 +0100
+++ b/vregistry.py	Wed Mar 11 11:13:41 2009 +0100
@@ -474,7 +474,7 @@
             or not cls.__registry__ or not cls.id):
             return
         regname = cls.__registry__
-        if cls.id in self.config['disable-%s' % regname]:
+        if '%s.%s' % (regname, cls.id) in self.config['disable-appobjects']:
             return
         registry = self._registries.setdefault(regname, {})
         vobjects = registry.setdefault(cls.id, [])