server/migractions.py
changeset 10662 10942ed172de
parent 10651 9ca33768473c
child 10663 54b8a1f249fb
--- a/server/migractions.py	Tue Sep 08 18:04:57 2015 +0200
+++ b/server/migractions.py	Tue Sep 15 16:15:03 2015 +0200
@@ -222,7 +222,7 @@
                 format_file.write('%s\n' % format)
             with open(osp.join(tmpdir, 'versions.txt'), 'w') as version_file:
                 versions = repo.get_versions()
-                for cube, version in versions.iteritems():
+                for cube, version in versions.items():
                     version_file.write('%s %s\n' % (cube, version))
             if not failed:
                 bkup = tarfile.open(backupfile, 'w|gz')