--- a/misc/migration/bootstrapmigration_repository.py Thu Feb 14 15:38:25 2013 +0100
+++ b/misc/migration/bootstrapmigration_repository.py Thu Feb 14 16:01:24 2013 +0100
@@ -76,7 +76,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.values():
+ for rdef in rschema.rdefs.itervalues():
for action in rdef.ACTIONS:
actperms = []
for something in rpermsdict.get(action == 'update' and 'add' or action, ()):