Mercurial > p > roundup > code
diff roundup/cgi/client.py @ 1349:f798e4c5dd9a
handle all-whitespace multilink values in forms [SF#663855]
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Wed, 08 Jan 2003 04:39:36 +0000 |
| parents | 81ab52195df0 |
| children | e0bf31867fa5 |
line wrap: on
line diff
--- a/roundup/cgi/client.py Wed Jan 08 04:33:56 2003 +0000 +++ b/roundup/cgi/client.py Wed Jan 08 04:39:36 2003 +0000 @@ -1,4 +1,4 @@ -# $Id: client.py,v 1.64 2003-01-08 04:33:56 richard Exp $ +# $Id: client.py,v 1.65 2003-01-08 04:39:36 richard Exp $ __doc__ = """ WWW request handler (also used in the stand-alone server). @@ -1272,7 +1272,7 @@ link = proptype.classname l = [] for entry in value: - if entry == '': continue + if not entry: continue if not num_re.match(entry): try: entry = db.classes[link].lookup(entry)
