iirk reminder
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 13 Jan 2010 16:01:53 +0100
changeset 4231 d55cac808b08
parent 4230 6514a76eaa5c
child 4232 d9d031d68be2
iirk reminder
web/views/editcontroller.py
--- 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)