summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c6139a8)
raw | patch | inline | side by side (parent: c6139a8)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Thu, 5 Sep 2002 23:48:55 +0000 (23:48 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Thu, 5 Sep 2002 23:48:55 +0000 (23:48 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1075 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/cgi/client.py | patch | blob | history |
diff --git a/roundup/cgi/client.py b/roundup/cgi/client.py
index 663f0c764d429ce0dd22d043b182907768dbbc3a..9fc4371ae680c96aaea4f67a765aacaca80f24c4 100644 (file)
--- a/roundup/cgi/client.py
+++ b/roundup/cgi/client.py
-# $Id: client.py,v 1.15 2002-09-05 23:39:12 richard Exp $
+# $Id: client.py,v 1.16 2002-09-05 23:48:55 richard Exp $
__doc__ = """
WWW request handler (also used in the stand-alone server).
required = []
if form.has_key(':required'):
value = form[':required']
+ print 'required', value
if isinstance(value, type([])):
required = [i.value.strip() for i in value]
else:
value = value.value.strip()
if isinstance(proptype, hyperdb.String):
- pass
- value = form[key].value.strip()
+ if not value:
+ continue
elif isinstance(proptype, hyperdb.Password):
if not value:
# ignore empty password values