comparison roundup/cgi/form_parser.py @ 5066:d2256fcfd81f

Fix regression in password parsing .. introduced in last commit of form parser.
author Ralf Schlatterbeck <rsc@runtux.com>
date Tue, 31 May 2016 09:16:09 +0200
parents 47ab150b7325
children e424987d294a
comparison
equal deleted inserted replaced
5065:47ab150b7325 5066:d2256fcfd81f
399 try: 399 try:
400 value = password.Password(value, scheme = proptype.scheme, 400 value = password.Password(value, scheme = proptype.scheme,
401 config=self.db.config) 401 config=self.db.config)
402 except hyperdb.HyperdbValueError, msg: 402 except hyperdb.HyperdbValueError, msg:
403 raise FormError (msg) 403 raise FormError (msg)
404 404 elif d['file']:
405 if d['file']:
406 # This needs to be a Multilink and is checked above 405 # This needs to be a Multilink and is checked above
407 fcn = 'file' 406 fcn = 'file'
408 fcl = self.db.classes[fcn] 407 fcl = self.db.classes[fcn]
409 fpropname = 'content' 408 fpropname = 'content'
410 if not all_propdef.has_key(fcn): 409 if not all_propdef.has_key(fcn):

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