Skip to content
Myr

fix operator precedence

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Lord · committed by David Lord · parent 42905b8 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:flask/app.py+1 added-1 removed
1583 unmodified lines
1584 # MultiDict passes the key to the exception, but that's ignored1585 # when generating the response message. Set an informative1586 # description for key errors in debug mode or when trapping errors.1587 if (1588 self.debug or self.config['TRAP_BAD_REQUEST_ERRORS']1588 (self.debug or self.config['TRAP_BAD_REQUEST_ERRORS'])1589 and isinstance(e, BadRequestKeyError)1590 # only set it if it's still the default description1591 and e.description is BadRequestKeyError.description1592 ):
548 unmodified lines