Skip to content
Myr

Change format index to support Python 2.6

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

authored by Keyan Pishdadian · committed by Keyan Pishdadian · parent 1cd9e91 · 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/wrappers.py+1 added-1 removed
175 unmodified lines
176 """177 ctx = _request_ctx_stack.top178 if ctx is not None:179 if ctx.app.config.get('DEBUG', False):180 raise BadRequest('Failed to decode JSON object: {}'.format(e))180 raise BadRequest('Failed to decode JSON object: {0}'.format(e))181 raise BadRequest()182183 def _load_form_data(self):184 RequestBase._load_form_data(self)
20 unmodified lines