no more needs for vreg_initialization_completed hook
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 13 Aug 2009 10:32:03 +0200
changeset 2804 0d01413ec9ae
parent 2803 870fa705dfde
child 2806 9d7173656a1a
no more needs for vreg_initialization_completed hook
appobject.py
cwvreg.py
--- a/appobject.py	Thu Aug 13 10:31:31 2009 +0200
+++ b/appobject.py	Thu Aug 13 10:32:03 2009 +0200
@@ -285,10 +285,6 @@
             registry.vreg.register_property(cls._cwpropkey(propid), **pdef)
         return cls
 
-    @classmethod
-    def vreg_initialization_completed(cls):
-        pass
-
     def __init__(self, req=None, rset=None, row=None, col=None, **extra):
         super(AppObject, self).__init__()
         self.req = req
--- a/cwvreg.py	Thu Aug 13 10:31:31 2009 +0200
+++ b/cwvreg.py	Thu Aug 13 10:32:03 2009 +0200
@@ -50,11 +50,7 @@
         self.schema = vreg.schema
 
     def initialization_completed(self):
-        # call vreg_initialization_completed on appobjects and print
-        # registry content
-        for appobjects in self.itervalues():
-            for appobject in appobjects:
-                appobject.vreg_initialization_completed()
+        pass
 
     def render(self, __oid, req, __fallback_oid=None, rset=None, **kwargs):
         """select object, or fallback object if specified and the first one