Revert "make external_url_handler example py3 compliant"

This commit is contained in:
lobeck 2015-07-16 13:53:59 +02:00
parent 97c0b26cc0
commit 128bc76af0

View file

@ -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.