Merge pull request #1535 from lobeck/revert-1534-update_external_url_handler_example
Revert "make external_url_handler example py3 compliant"
This commit is contained in:
commit
b528b2ffe3
1 changed files with 1 additions and 1 deletions
|
|
@ -219,7 +219,7 @@ def url_for(endpoint, **values):
|
|||
# Re-raise the BuildError, in context of original traceback.
|
||||
exc_type, exc_value, tb = sys.exc_info()
|
||||
if exc_value is error:
|
||||
raise exc_type(exc_value, endpoint, values).with_traceback(tb)
|
||||
raise exc_type, exc_value, tb
|
||||
else:
|
||||
raise error
|
||||
# url_for will use this result, instead of raising BuildError.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue