not necesary (i think) tls-sprint
authorsylvain.thenault@logilab.fr
Wed, 11 Mar 2009 19:51:27 +0100
branchtls-sprint
changeset 1068 04c745ce692e
parent 1067 f37ee6855e42
child 1069 84bc7dce1876
not necesary (i think)
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)