comparison roundup/cgi/form_parser.py @ 3777:74aebbbea305

Sorry for the mega-patch - was all done on the train: - handling of required for booelan False and numeric 0 [SF#1608200] - removed bogus args attr of ConfigurationError [SF#1608056] - implemented start_response in roundup.cgi [SF#1604304]
author Richard Jones <richard@users.sourceforge.net>
date Mon, 11 Dec 2006 23:36:15 +0000
parents 9d93653f8dcb
children 63d58cc1394a
comparison
equal deleted inserted replaced
3776:1ac3c7ed91e8 3777:74aebbbea305
463 propname, value) 463 propname, value)
464 except hyperdb.HyperdbValueError, msg: 464 except hyperdb.HyperdbValueError, msg:
465 raise FormError, msg 465 raise FormError, msg
466 466
467 # register that we got this property 467 # register that we got this property
468 if value: 468 if isinstance(proptype, hyperdb.Multilink):
469 if value != []:
470 got_props[this][propname] = 1
471 elif value is not None:
469 got_props[this][propname] = 1 472 got_props[this][propname] = 1
470 473
471 # get the old value 474 # get the old value
472 if nodeid and not nodeid.startswith('-'): 475 if nodeid and not nodeid.startswith('-'):
473 try: 476 try:

Roundup Issue Tracker: http://roundup-tracker.org/