equal
deleted
inserted
replaced
573 self._needs_iface[obj] = ifaces |
573 self._needs_iface[obj] = ifaces |
574 depends_on = require_appobject(obj) |
574 depends_on = require_appobject(obj) |
575 if depends_on is not None: |
575 if depends_on is not None: |
576 self._needs_appobject[obj] = depends_on |
576 self._needs_appobject[obj] = depends_on |
577 |
577 |
578 def register_objects(self, path, force_reload=False): |
578 def register_objects(self, path): |
579 """overriden to remove objects requiring a missing interface""" |
579 """overriden to give cubicweb's extrapath (eg cubes package's __path__) |
|
580 """ |
580 super(CubicWebVRegistry, self).register_objects( |
581 super(CubicWebVRegistry, self).register_objects( |
581 path, force_reload, self.config.extrapath) |
582 path, self.config.extrapath) |
582 |
583 |
583 def initialization_completed(self): |
584 def initialization_completed(self): |
584 """cw specific code once vreg initialization is completed: |
585 """cw specific code once vreg initialization is completed: |
585 |
586 |
586 * remove objects requiring a missing interface, unless |
587 * remove objects requiring a missing interface, unless |