web/views/editcontroller.py
changeset 4231 d55cac808b08
parent 4226 67dd296f864d
child 4249 222fbf826604
--- a/web/views/editcontroller.py	Wed Jan 13 16:01:34 2010 +0100
+++ b/web/views/editcontroller.py	Wed Jan 13 16:01:53 2010 +0100
@@ -155,7 +155,7 @@
             except:
                 name = editedfield
                 role = None
-            if form.field_by_name.im_func.func_code.co_argcount == 4:
+            if form.field_by_name.im_func.func_code.co_argcount == 4: # XXX
                 field = form.field_by_name(name, role, eschema=entity.e_schema)
             else:
                 field = form.field_by_name(name, role)