Michael Merickel
2018-10-15 0c29cf2df41600d3906d521c72991c7686018b71
src/pyramid/tweens.py
@@ -3,6 +3,7 @@
from pyramid.compat import reraise
from pyramid.httpexceptions import HTTPNotFound
def _error_handler(request, exc):
    # NOTE: we do not need to delete exc_info because this function
    # should never be in the call stack of the exception
@@ -16,6 +17,7 @@
        reraise(*exc_info)
    return response
def excview_tween_factory(handler, registry):
    """ A :term:`tween` factory which produces a tween that catches an
@@ -43,6 +45,7 @@
    return excview_tween
MAIN = 'MAIN'
INGRESS = 'INGRESS'
EXCVIEW = 'pyramid.tweens.excview_tween_factory'