web/views/forms.py
changeset 10509 e8ac062d4b20
parent 10434 8e04ab5582d9
child 10662 10942ed172de
--- a/web/views/forms.py	Thu Jul 02 09:25:45 2015 +0200
+++ b/web/views/forms.py	Wed Apr 08 11:29:24 2015 +0200
@@ -241,10 +241,7 @@
 
     _default_form_action_path = 'edit'
     def form_action(self):
-        try:
-            action = self.get_action() # avoid spurious warning w/ autoform bw compat property
-        except AttributeError:
-            action = self.action
+        action = self.action
         if action is None:
             return self._cw.build_url(self._default_form_action_path)
         return action