Skip to content
Myr

Updating external_url_handler example to Python 3 (#3816)

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

authored by Sebastian Höffner · committed by GitHub · parent 070a0c1 · 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:src/flask/helpers.py+1 added-1 removed
237 unmodified lines
238 # External lookup did not have a URL.239 # Re-raise the BuildError, in context of original traceback.240 exc_type, exc_value, tb = sys.exc_info()241 if exc_value is error:242 raise exc_type, exc_value, tb242 raise exc_type(exc_value).with_traceback(tb)243 else:244 raise error245 # url_for will use this result, instead of raising BuildError.246 return url
871 unmodified lines