editable-attributes return a list of 2-uple
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 19 Oct 2009 17:49:50 +0200
changeset 3730 d6f95bd1032d
parent 3729 e4f20b74af51
child 3731 d4af295515c0
editable-attributes return a list of 2-uple
web/views/actions.py
--- a/web/views/actions.py	Mon Oct 19 17:49:26 2009 +0200
+++ b/web/views/actions.py	Mon Oct 19 17:49:50 2009 +0200
@@ -39,7 +39,7 @@
             warn('[3.6] %s: editable_attributes now take strict=False as '
                  'optional argument', DeprecationWarning)
             editableattrs = form.editable_attributes()
-        for rschema, targetschemas, role in editableattrs:
+        for rschema, role in editableattrs:
             if not rschema.final:
                 return 1
         return 0