From 22bf919e5eaa21bf7d826bb4143958d7d20e0469 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 9 Feb 2016 20:52:43 -0500 Subject: dont set it twice --- pyramid/view.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyramid/view.py b/pyramid/view.py index 2555cbe30..242a1b7de 100644 --- a/pyramid/view.py +++ b/pyramid/view.py @@ -603,7 +603,7 @@ class ViewMethodsMixin(object): # 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) -- cgit v1.2.3