From: richard Date: Thu, 28 Nov 2002 07:08:39 +0000 (+0000) Subject: allow unsetting of date/interval X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=48ca02ec7f09a08bb7b6a4ee5b8953c422f9d947;p=roundup.git allow unsetting of date/interval git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1389 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/roundup/cgi/client.py b/roundup/cgi/client.py index 1a301fc..77e625d 100644 --- a/roundup/cgi/client.py +++ b/roundup/cgi/client.py @@ -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 @@ def parsePropsFromForm(db, cl, form, nodeid=0, num_re=re.compile('^\d+$')): 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':