[3.10] drop deprecation warning
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 22 Oct 2010 16:02:05 +0200
changeset 6596 9717122d5e06
parent 6595 00cd0b273cf5
child 6597 ba9fb496ad87
[3.10] drop deprecation warning
web/views/reledit.py
--- a/web/views/reledit.py	Fri Oct 22 16:01:54 2010 +0200
+++ b/web/views/reledit.py	Fri Oct 22 16:02:05 2010 +0200
@@ -324,7 +324,7 @@
         w(u'<div id="%s-value" class="editableFieldValue">' % divid)
         w(value)
         w(u'</div>')
-        w(form.render(renderer=renderer))
+        form.render(w=w, renderer=renderer)
         w(u'<div id="%s" class="editableField hidden">' % divid)
 
     def _edit_action(self, divid, args, edit_related, add_related, _delete_related):