cwvreg.py
changeset 8663 4e2dc5e61599
parent 8537 e30d0a7f0087
child 8666 1dd655788ece
--- a/cwvreg.py	Fri Nov 23 18:27:35 2012 +0100
+++ b/cwvreg.py	Mon Jan 21 13:55:25 2013 +0100
@@ -544,20 +544,6 @@
     def itervalues(self):
         return (value for key, value in self.items())
 
-    def load_module(self, module):
-        """ variation from the base implementation:
-        apply related_appobject to the automatically registered objects
-        """
-        self.info('loading %s from %s', module.__name__, module.__file__)
-        if hasattr(module, 'registration_callback'):
-            module.registration_callback(self)
-            return
-        for objname, obj in vars(module).iteritems():
-            if objname.startswith('_'):
-                continue
-            self._load_ancestors_then_object(module.__name__,
-                                             related_appobject(obj))
-
     def reset(self):
         CW_EVENT_MANAGER.emit('before-registry-reset', self)
         super(CWRegistryStore, self).reset()