web/views/schema.py
changeset 10663 54b8a1f249fb
parent 10662 10942ed172de
child 10666 7f6b5f023884
--- a/web/views/schema.py	Tue Sep 15 16:15:03 2015 +0200
+++ b/web/views/schema.py	Tue Oct 13 15:09:22 2015 +0200
@@ -114,7 +114,7 @@
     def grouped_permissions_table(self, rschema):
         # group relation definitions with identical permissions
         perms = {}
-        for rdef in rschema.rdefs.itervalues():
+        for rdef in rschema.rdefs.values():
             rdef_perms = []
             for action in rdef.ACTIONS:
                 groups = sorted(rdef.get_groups(action))