# HG changeset patch # User sylvain.thenault@logilab.fr # Date 1239987061 -7200 # Node ID 425892e14e67f92af559952bdaeefd1e4f6a96e2 # Parent 04b7afb14b5046100915290dd01ae157579396a6 _render_fields don't need values argument diff -r 04b7afb14b50 -r 425892e14e67 web/formrenderers.py --- a/web/formrenderers.py Fri Apr 17 18:45:06 2009 +0200 +++ b/web/formrenderers.py Fri Apr 17 18:51:01 2009 +0200 @@ -152,7 +152,7 @@ form.form_build_context(values) fields = self._render_hidden_fields(w, form) if fields: - self._render_fields(fields, w, form, values) + self._render_fields(fields, w, form) self.render_child_forms(w, form, values) def render_child_forms(self, w, form, values): @@ -170,7 +170,7 @@ fields.remove(field) return fields - def _render_fields(self, fields, w, form, values): + def _render_fields(self, fields, w, form): w(u'