# HG changeset patch # User sylvain.thenault@logilab.fr # Date 1239291225 -7200 # Node ID 9c7cc717bb1774833aadb5323be30811b72c1ac9 # Parent c050f9f8672e63f7ce71ebb43d5e0074534d593a fix error class diff -r c050f9f8672e -r 9c7cc717bb17 web/formwidgets.py --- a/web/formwidgets.py Thu Apr 09 17:33:20 2009 +0200 +++ b/web/formwidgets.py Thu Apr 09 17:33:45 2009 +0200 @@ -74,7 +74,7 @@ id = attrs.pop('id') try: confirmname = '%s-confirm:%s' % tuple(name.rsplit(':', 1)) - except ValueError: + except TypeError: confirmname = '%s-confirm' % name inputs = [tags.input(name=name, value=values[0], type=self.type, id=id, **attrs), '
',