From 48ca02ec7f09a08bb7b6a4ee5b8953c422f9d947 Mon Sep 17 00:00:00 2001 From: richard Date: Thu, 28 Nov 2002 07:08:39 +0000 Subject: [PATCH] allow unsetting of date/interval git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1389 57a73879-2fb5-44c3-a270-3262357dd7e2 --- roundup/cgi/client.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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': -- 2.30.2