web/views/schema.py
changeset 10662 10942ed172de
parent 10405 7b27a7443180
child 10663 54b8a1f249fb
--- a/web/views/schema.py	Tue Sep 08 18:04:57 2015 +0200
+++ b/web/views/schema.py	Tue Sep 15 16:15:03 2015 +0200
@@ -131,7 +131,7 @@
         _ = self._cw._
         w(u'<div style="margin: 0px 1.5em">')
         tmpl = u'<strong>%s</strong> %s <strong>%s</strong>'
-        for perm, rdefs in perms.iteritems():
+        for perm, rdefs in perms.items():
             w(u'<div>%s</div>' % u', '.join(
                 tmpl % (_(s.type), _(rschema.type), _(o.type)) for s, o in rdefs))
             # accessing rdef from previous loop by design: only used to get