[form] missing return... stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 26 May 2010 18:32:27 +0200
branchstable
changeset 5598 0a68e7f5829c
parent 5596 d66a5d98db5b
child 5599 be94157bd754
[form] missing return...
web/views/forms.py
--- a/web/views/forms.py	Wed May 26 17:19:44 2010 +0200
+++ b/web/views/forms.py	Wed May 26 18:32:27 2010 +0200
@@ -197,7 +197,7 @@
     _default_form_action_path = 'edit'
     def form_action(self):
         if self.action is None:
-            self._cw.build_url(self._default_form_action_path)
+            return self._cw.build_url(self._default_form_action_path)
         return self.action
 
     @deprecated('[3.6] use .add_hidden(name, value, **kwargs)')