web/views/actions.py
changeset 7990 a673d1d9a738
parent 7953 a37531c8a4a6
child 8128 0a927fe4541b
--- a/web/views/actions.py	Fri Oct 21 14:32:18 2011 +0200
+++ b/web/views/actions.py	Fri Oct 21 14:32:37 2011 +0200
@@ -50,12 +50,7 @@
                                                entity=entity, mainform=False)
         for dummy in form.editable_relations():
             return 1
-        try:
-            editableattrs = form.editable_attributes(strict=True)
-        except TypeError:
-            warn('[3.6] %s: editable_attributes now take strict=False as '
-                 'optional argument', DeprecationWarning)
-            editableattrs = form.editable_attributes()
+        editableattrs = form.editable_attributes(strict=True)
         for rschema, role in editableattrs:
             return 1
         return 0