Skip to content
Myr

Merge pull request #1535 from lobeck/revert-1534-update_external_url_handler_example

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

Revert "make external_url_handler example py3 compliant"

authored by Markus Unterwaditzer · committed by Markus Unterwaditzer · parents 81ae94a, 128bc76 · 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/helpers.py+1 added-1 removed
217 unmodified lines
218 # External lookup did not have a URL.219 # Re-raise the BuildError, in context of original traceback.220 exc_type, exc_value, tb = sys.exc_info()221 if exc_value is error:222 raise exc_type(exc_value, endpoint, values).with_traceback(tb)222 raise exc_type, exc_value, tb223 else:224 raise error225 # url_for will use this result, instead of raising BuildError.226 return url
674 unmodified lines