web/views/autoform.py
changeset 8696 0bb18407c053
parent 8666 1dd655788ece
child 8748 f5027f8d2478
--- a/web/views/autoform.py	Thu Feb 14 15:38:25 2013 +0100
+++ b/web/views/autoform.py	Thu Feb 14 16:01:24 2013 +0100
@@ -1011,4 +1011,4 @@
             AutomaticEntityForm.error('field for %s %s may not be found in schema' % (rtype, role))
             return None
 
-    vreg.register_all(globals().values(), __name__)
+    vreg.register_all(globals().itervalues(), __name__)