Skip to content
Myr

Pass exc explicitly to the inner context.

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

authored by Armin Ronacher · committed by Armin Ronacher · parent 9bed20c · 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/ctx.py+1 added-1 removed
222 unmodified lines
223 rv.request.environ['werkzeug.request'] = None224225 # Get rid of the app as well if necessary.226 if self._pushed_application_context:227 self._pushed_application_context.pop()227 self._pushed_application_context.pop(exc)228 self._pushed_application_context = None229230 def __enter__(self):231 self.push()
21 unmodified lines