From 25c0b6800244c9ada5cff805a444e47a146c585a Mon Sep 17 00:00:00 2001 From: richard Date: Wed, 8 Jan 2003 04:39:36 +0000 Subject: [PATCH] handle all-whitespace multilink values in forms (sf bug 663855) git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1424 57a73879-2fb5-44c3-a270-3262357dd7e2 --- roundup/cgi/client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roundup/cgi/client.py b/roundup/cgi/client.py index cd85e63..da91444 100644 --- a/roundup/cgi/client.py +++ b/roundup/cgi/client.py @@ -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 @@ def parsePropsFromForm(db, cl, form, nodeid=0, num_re=re.compile('^\d+$')): 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) -- 2.30.2