diff options
| author | Chris McDonough <chrism@plope.com> | 2016-02-09 20:52:43 -0500 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2016-02-09 20:52:43 -0500 |
| commit | 22bf919e5eaa21bf7d826bb4143958d7d20e0469 (patch) | |
| tree | 708262548d3cc6187edbb8d6b7a761de8b7dea7d | |
| parent | ca529f0d7d3870d851181375f6a15805cef208b5 (diff) | |
| download | pyramid-22bf919e5eaa21bf7d826bb4143958d7d20e0469.tar.gz pyramid-22bf919e5eaa21bf7d826bb4143958d7d20e0469.tar.bz2 pyramid-22bf919e5eaa21bf7d826bb4143958d7d20e0469.zip | |
dont set it twice
| -rw-r--r-- | pyramid/view.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
