Mercurial > p > roundup > code
diff roundup/cgi/client.py @ 1315:62103ced4482
allow unsetting of date/interval
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Thu, 28 Nov 2002 07:08:39 +0000 |
| parents | 1acca3edf870 |
| children | 3758a5af985f |
line wrap: on
line diff
--- a/roundup/cgi/client.py Thu Nov 28 07:05:00 2002 +0000 +++ b/roundup/cgi/client.py Thu Nov 28 07:08:39 2002 +0000 @@ -1,4 +1,4 @@ -# $Id: client.py,v 1.57 2002-11-28 07:02:48 richard Exp $ +# $Id: client.py,v 1.58 2002-11-28 07:08:39 richard Exp $ __doc__ = """ WWW request handler (also used in the stand-alone server). @@ -1220,12 +1220,12 @@ if value: value = date.Date(value) else: - continue + value = None elif isinstance(proptype, hyperdb.Interval): if value: value = date.Interval(value) else: - continue + value = None elif isinstance(proptype, hyperdb.Link): # see if it's the "no selection" choice if value == '-1':
