cwvreg.py
branchstable
changeset 4486 9a4ef69bdef7
parent 4485 5f99eb0b99f7
child 4490 d45cde54d464
--- a/cwvreg.py	Sat Feb 06 10:34:26 2010 +0100
+++ b/cwvreg.py	Sat Feb 06 10:34:35 2010 +0100
@@ -63,6 +63,7 @@
         # registry content
         for appobjects in self.itervalues():
             for appobject in appobjects:
+                # XXX kill vreg_initialization_completed
                 appobject.vreg_initialization_completed()
 
     def render(self, __oid, req, __fallback_oid=None, rset=None, initargs=None,
@@ -376,7 +377,7 @@
                           check=self.config.cleanup_interface_sobjects)
 
     def initialization_completed(self):
-        for regname, reg in self.items():
+        for regname, reg in self.iteritems():
             self.debug('available in registry %s: %s', regname, sorted(reg))
             reg.initialization_completed()
             for appobjects in reg.itervalues():