# HG changeset patch # User Sylvain Thénault # Date 1255967390 -7200 # Node ID d6f95bd1032d82e6aa32ba2a2b8ce998976b0b88 # Parent e4f20b74af513f9144036980988a3232ea850b08 editable-attributes return a list of 2-uple diff -r e4f20b74af51 -r d6f95bd1032d 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