Skip to content

Commit c088667

Browse files
author
Richard Jones
committed
oops
1 parent e58be10 commit c088667

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

roundup/cgi/client.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $Id: client.py,v 1.121 2003-06-24 03:51:15 richard Exp $
1+
# $Id: client.py,v 1.122 2003-06-24 03:58:57 richard Exp $
22

33
__doc__ = """
44
WWW request handler (also used in the stand-alone server).
@@ -1915,13 +1915,15 @@ def parsePropsFromForm(self, num_re=re.compile('^\d+$')):
19151915
for thing, required in all_required.items():
19161916
# register the values we got
19171917
got = all_props.get(thing, {})
1918-
for entry in required:
1918+
for entry in required[:]:
19191919
if got.get(entry, ''):
19201920
required.remove(entry)
19211921

19221922
# any required values not present?
19231923
if not required:
19241924
continue
1925+
1926+
# tell the user to entry the values required
19251927
if len(required) > 1:
19261928
p = 'properties'
19271929
else:

0 commit comments

Comments
 (0)