[web] remove widget.render backward compatibility
there are very few widgets outside CW that used old render API and they
should have all been updated by now.
--- a/web/formfields.py Wed Nov 18 10:05:41 2009 +0100
+++ b/web/formfields.py Wed Nov 18 12:32:57 2009 +0100
@@ -178,12 +178,7 @@
renderer
"""
widget = self.get_widget(form)
- try:
- return widget.render(form, self, renderer)
- except TypeError:
- warn('[3.3] %s: widget.render now take the renderer as third argument, '
- 'please update implementation' % widget, DeprecationWarning)
- return widget.render(form, self)
+ return widget.render(form, self, renderer)
def vocabulary(self, form):
"""return vocabulary for this field. This method will be called by