Skip to content

Commit 332beaa

Browse files
author
Richard Jones
committed
handle all-whitespace multilink values in forms [SF#663855]
1 parent 576df4d commit 332beaa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

roundup/cgi/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $Id: client.py,v 1.64 2003-01-08 04:33:56 richard Exp $
1+
# $Id: client.py,v 1.65 2003-01-08 04:39:36 richard Exp $
22

33
__doc__ = """
44
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+$')):
12721272
link = proptype.classname
12731273
l = []
12741274
for entry in value:
1275-
if entry == '': continue
1275+
if not entry: continue
12761276
if not num_re.match(entry):
12771277
try:
12781278
entry = db.classes[link].lookup(entry)

0 commit comments

Comments
 (0)