Browse Source

minor changes to whitespace

pull/1866/head
Jason Slay 9 years ago
parent
commit
366c6d21a2
  1. 2
      flask/helpers.py

2
flask/helpers.py

@ -195,7 +195,6 @@ def url_for(*args, **kwargs):
wrapper based on https://github.com/miguelgrinberg/flack/blob/master/flack/utils.py
that also covers the case where application context exists with SERVER_NAME defined.
"""
reqctx = _request_ctx_stack.top
appctx = _app_ctx_stack.top
if reqctx is None and (appctx is None or appctx.url_adapter is None):
@ -317,7 +316,6 @@ def _url_for(endpoint, **values):
'adapter for request independent URL generation. '
'You might be able to fix this by setting '
'the SERVER_NAME config variable.')
external = values.pop('_external', True)
anchor = values.pop('_anchor', None)

Loading…
Cancel
Save