migration.py
changeset 10662 10942ed172de
parent 10615 6c497fe389d2
child 10720 201028085e12
--- a/migration.py	Tue Sep 08 18:04:57 2015 +0200
+++ b/migration.py	Tue Sep 15 16:15:03 2015 +0200
@@ -493,8 +493,8 @@
             self.dependencies[cube] = dict(self.config.cube_dependencies(cube))
             self.dependencies[cube]['cubicweb'] = self.config.cube_depends_cubicweb_version(cube)
         # compute reverse dependencies
-        for cube, dependencies in self.dependencies.iteritems():
-            for name, constraint in dependencies.iteritems():
+        for cube, dependencies in self.dependencies.items():
+            for name, constraint in dependencies.items():
                 self.reverse_dependencies.setdefault(name,set())
                 if constraint:
                     try: