cwvreg.py
changeset 4323 aae19998dd93
parent 4308 ab3f1520502c
child 4440 2eb6112ba4f0
--- a/cwvreg.py	Fri Jan 22 08:49:16 2010 +0100
+++ b/cwvreg.py	Fri Jan 22 10:07:03 2010 +0100
@@ -373,12 +373,8 @@
 
     def _register_objects(self, path, force_reload=None):
         """overriden to remove objects requiring a missing interface"""
-        extrapath = {}
-        for cubesdir in self.config.cubes_search_path():
-            if cubesdir != self.config.CUBES_DIR:
-                extrapath[cubesdir] = 'cubes'
         if super(CubicWebVRegistry, self).register_objects(path, force_reload,
-                                                          extrapath):
+                                                          self.config.extrapath):
             self.initialization_completed()
             # don't check rtags if we don't want to cleanup_interface_sobjects
             for rtag in RTAGS: