--- a/web/views/formrenderers.py Fri May 02 17:41:11 2014 +0200
+++ b/web/views/formrenderers.py Fri May 02 17:57:37 2014 +0200
@@ -1,4 +1,4 @@
-# copyright 2003-2012 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+# copyright 2003-2014 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
# contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
#
# This file is part of CubicWeb.
@@ -142,12 +142,7 @@
help = []
descr = field.help
if callable(descr):
- if support_args(descr, 'form', 'field'):
- descr = descr(form, field)
- else:
- warn("[3.10] field's help callback must now take form and field as argument (%s)"
- % field, DeprecationWarning)
- descr = descr(form)
+ descr = descr(form, field)
if descr:
help.append('<div class="helper">%s</div>' % self._cw._(descr))
example = field.example_format(self._cw)