cwvreg.py
changeset 10663 54b8a1f249fb
parent 10662 10942ed172de
child 10666 7f6b5f023884
--- a/cwvreg.py	Tue Sep 15 16:15:03 2015 +0200
+++ b/cwvreg.py	Tue Oct 13 15:09:22 2015 +0200
@@ -492,7 +492,7 @@
         """
         self.schema = schema
         for registry, regcontent in self.items():
-            for objects in regcontent.itervalues():
+            for objects in regcontent.values():
                 for obj in objects:
                     obj.schema = schema
 
@@ -543,7 +543,7 @@
                     self.unregister(obj)
         super(CWRegistryStore, self).initialization_completed()
         if 'uicfg' in self: # 'uicfg' is not loaded in a pure repository mode
-            for rtags in self['uicfg'].itervalues():
+            for rtags in self['uicfg'].values():
                 for rtag in rtags:
                     # don't check rtags if we don't want to cleanup_unused_appobjects
                     rtag.init(self.schema, check=self.config.cleanup_unused_appobjects)