Skip to content
Myr

Fix #623

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

authored by Markus Unterwaditzer · committed by Markus Unterwaditzer · parent ff2e844 · Browse files · 1 file+3 added−2 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+3 added−2 removed

  • other:+3 added−2 removed

1 file+3 added−2 removed

modified:flask/helpers.py+3 added-2 removed
245 unmodified lines
246 """247 appctx = _app_ctx_stack.top248 reqctx = _request_ctx_stack.top249 if appctx is None:250 raise RuntimeError('Attempted to generate a URL with the application '251 'context being pushed. This has to be executed ')250 raise RuntimeError('Attempted to generate a URL without the '251 'application context being pushed. This has to be '252 'executed when application context is available.')253254 # If request specific information is available we have some extra255 # features that support "relative" urls.256 if reqctx is not None:
574 unmodified lines