web/views/formrenderers.py
changeset 6575 18588fff9c97
parent 6543 66145280a7e6
child 6582 8eb7883b4223
--- a/web/views/formrenderers.py	Thu Oct 21 09:49:27 2010 +0200
+++ b/web/views/formrenderers.py	Thu Oct 21 17:54:51 2010 +0200
@@ -135,8 +135,8 @@
             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",
-                     DeprecationWarning)
+                warn("[3.10] field's help callback must now take form and field as argument (%s)"
+                     % field, DeprecationWarning)
                 descr = descr(form)
         if descr:
             help.append('<div class="helper">%s</div>' % self._cw._(descr))