Mercurial > p > roundup > code
diff roundup/cgi/client.py @ 1323:80eef084069a
Fix to handle bad form submissions, Links and the magic -1 form value.
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Tue, 10 Dec 2002 06:02:00 +0000 |
| parents | 3758a5af985f |
| children | 43e5262dd90c |
line wrap: on
line diff
--- a/roundup/cgi/client.py Tue Dec 10 00:46:55 2002 +0000 +++ b/roundup/cgi/client.py Tue Dec 10 06:02:00 2002 +0000 @@ -1,4 +1,4 @@ -# $Id: client.py,v 1.59 2002-12-10 00:11:15 richard Exp $ +# $Id: client.py,v 1.60 2002-12-10 06:01:59 richard Exp $ __doc__ = """ WWW request handler (also used in the stand-alone server). @@ -1309,9 +1309,8 @@ elif isinstance(proptype, hyperdb.Boolean): value = value.lower() in ('yes', 'true', 'on', '1') - props[propname] = value elif isinstance(proptype, hyperdb.Number): - props[propname] = value = int(value) + value = int(value) # register this as received if required? if propname in required and value is not None:
