Skip to content

Commit 05d4460

Browse files
author
Richard Jones
committed
value is already extracted...
1 parent 13b0c37 commit 05d4460

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

roundup/cgi/client.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $Id: client.py,v 1.56 2002-11-06 05:39:50 richard Exp $
1+
# $Id: client.py,v 1.57 2002-11-28 07:02:48 richard Exp $
22

33
__doc__ = """
44
WWW request handler (also used in the stand-alone server).
@@ -1218,12 +1218,12 @@ def parsePropsFromForm(db, cl, form, nodeid=0, num_re=re.compile('^\d+$')):
12181218
value = password.Password(value)
12191219
elif isinstance(proptype, hyperdb.Date):
12201220
if value:
1221-
value = date.Date(value.value.strip())
1221+
value = date.Date(value)
12221222
else:
12231223
continue
12241224
elif isinstance(proptype, hyperdb.Interval):
12251225
if value:
1226-
value = date.Interval(value.value.strip())
1226+
value = date.Interval(value)
12271227
else:
12281228
continue
12291229
elif isinstance(proptype, hyperdb.Link):

0 commit comments

Comments
 (0)