Skip to content

Commit 67c5f72

Browse files
committed
Fix regression in password parsing
.. introduced in last commit of form parser.
1 parent 4f5c0c0 commit 67c5f72

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

roundup/cgi/form_parser.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -401,8 +401,7 @@ def parse(self, create=0, num_re=re.compile('^\d+$')):
401401
config=self.db.config)
402402
except hyperdb.HyperdbValueError, msg:
403403
raise FormError (msg)
404-
405-
if d['file']:
404+
elif d['file']:
406405
# This needs to be a Multilink and is checked above
407406
fcn = 'file'
408407
fcl = self.db.classes[fcn]

0 commit comments

Comments
 (0)