# HG changeset patch # User sylvain.thenault@logilab.fr # Date 1236797487 -3600 # Node ID 04c745ce692eaaf82ca8050302eb50fd8b0ccaff # Parent f37ee6855e42843c00a64d0e32258a4d7ed83e94 not necesary (i think) diff -r f37ee6855e42 -r 04c745ce692e web/form.py --- a/web/form.py Wed Mar 11 19:51:08 2009 +0100 +++ b/web/form.py Wed Mar 11 19:51:27 2009 +0100 @@ -372,8 +372,6 @@ options.append(tags.option(label, value=value, selected='selected')) else: options.append(tags.option(label, value=value)) - if attrs is None: - return tags.select(name=name, options=options) return tags.select(name=name, multiple=self.multiple, options=options, **attrs)