--- a/misc/migration/bootstrapmigration_repository.py Tue Sep 15 16:15:03 2015 +0200
+++ b/misc/migration/bootstrapmigration_repository.py Tue Oct 13 15:09:22 2015 +0200
@@ -299,7 +299,7 @@
with hooks_control(session, session.HOOKS_ALLOW_ALL, 'integrity'):
for rschema in repo.schema.relations():
rpermsdict = permsdict.get(rschema.eid, {})
- for rdef in rschema.rdefs.itervalues():
+ for rdef in rschema.rdefs.values():
for action in rdef.ACTIONS:
actperms = []
for something in rpermsdict.get(action == 'update' and 'add' or action, ()):