web/views/forms.py
changeset 10662 10942ed172de
parent 10509 e8ac062d4b20
child 10714 8a2ec43fcf44
--- a/web/views/forms.py	Tue Sep 08 18:04:57 2015 +0200
+++ b/web/views/forms.py	Tue Sep 15 16:15:03 2015 +0200
@@ -377,7 +377,7 @@
 
         Warning: this method must be called only when all form fields are setup
         """
-        for (rtype, role), eids in self.linked_to.iteritems():
+        for (rtype, role), eids in self.linked_to.items():
             # if the relation is already setup by a form field, do not add it
             # in a __linkto hidden to avoid setting it twice in the controller
             try: