Mercurial > p > roundup > code
diff roundup/cgi/client.py @ 1690:388b9bfe4483
oops
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Tue, 24 Jun 2003 03:58:57 +0000 |
| parents | aca6de3e5eac |
| children | 64f448ff07f2 |
line wrap: on
line diff
--- a/roundup/cgi/client.py Tue Jun 24 03:51:15 2003 +0000 +++ b/roundup/cgi/client.py Tue Jun 24 03:58:57 2003 +0000 @@ -1,4 +1,4 @@ -# $Id: client.py,v 1.121 2003-06-24 03:51:15 richard Exp $ +# $Id: client.py,v 1.122 2003-06-24 03:58:57 richard Exp $ __doc__ = """ WWW request handler (also used in the stand-alone server). @@ -1915,13 +1915,15 @@ for thing, required in all_required.items(): # register the values we got got = all_props.get(thing, {}) - for entry in required: + for entry in required[:]: if got.get(entry, ''): required.remove(entry) # any required values not present? if not required: continue + + # tell the user to entry the values required if len(required) > 1: p = 'properties' else:
