cwvreg.py
branchtls-sprint
changeset 1752 4b0b912ff5b7
parent 1723 30c3a713ab61
child 1769 fb91d2b8a441
--- a/cwvreg.py	Tue May 12 18:14:46 2009 +0200
+++ b/cwvreg.py	Tue May 12 18:15:49 2009 +0200
@@ -114,13 +114,17 @@
         """overriden to remove objects requiring a missing interface"""
         if super(CubicWebRegistry, self).register_objects(path, force_reload):
             self.initialization_completed()
-            # print registry content
+            # call vreg_initialization_completed on appobjects and print
+            # registry content
             for registry, objects in self.items():
                 self.debug('available in registry %s: %s', registry,
                            sorted(objects))
                 for appobjects in objects.itervalues():
                     for appobject in appobjects:
                         appobject.vreg_initialization_completed()
+            from cubicweb.rtags import RTAGS
+            for rtag in RTAGS:
+                rtag.init(self.schema)
 
     def initialization_completed(self):
         # clear etype cache if you don't want to run into deep weirdness