Code

value is already extracted...
authorrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Thu, 28 Nov 2002 07:02:48 +0000 (07:02 +0000)
committerrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Thu, 28 Nov 2002 07:02:48 +0000 (07:02 +0000)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1387 57a73879-2fb5-44c3-a270-3262357dd7e2

roundup/cgi/client.py

index 6f598c722e5852e89132479671480ce6fb4227be..1a301fc105e0a33f7c1788e906cb58babe16c359 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: client.py,v 1.56 2002-11-06 05:39:50 richard Exp $
+# $Id: client.py,v 1.57 2002-11-28 07:02:48 richard Exp $
 
 __doc__ = """
 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+$')):
             value = password.Password(value)
         elif isinstance(proptype, hyperdb.Date):
             if value:
-                value = date.Date(value.value.strip())
+                value = date.Date(value)
             else:
                 continue
         elif isinstance(proptype, hyperdb.Interval):
             if value:
-                value = date.Interval(value.value.strip())
+                value = date.Interval(value)
             else:
                 continue
         elif isinstance(proptype, hyperdb.Link):