Chris McDonough
2016-02-10 22bf919e5eaa21bf7d826bb4143958d7d20e0469
dont set it twice
1 files modified
2 ■■■ changed files
pyramid/view.py 2 ●●● patch | view | raw | blame | history
pyramid/view.py
@@ -603,7 +603,7 @@
        # here, which adds exception and exc_info as request attrs, and
        # removes response object temporarily (as per the excview tween)
        attrs['exception'] = exc_info[0]
        attrs['exc_info'] = request.exc_info = exc_info
        attrs['exc_info'] = exc_info
        # we use .get instead of .__getitem__ below due to
        # https://github.com/Pylons/pyramid/issues/700
        request_iface = attrs.get('request_iface', IRequest)