summaryrefslogtreecommitdiff
path: root/HACKING.txt
diff options
context:
space:
mode:
authorJeff Dairiki <dairiki@dairiki.org>2015-04-15 12:18:53 -0700
committerJeff Dairiki <dairiki@dairiki.org>2015-04-15 12:35:30 -0700
commit957e7c3e0b9a86ae83e4e2a106144c4a310a4919 (patch)
treea984434e257e44132512dd49b7e0e3cad7ca0170 /HACKING.txt
parent875b90d3376c060dea469bc7110c51e20b2eee0a (diff)
downloadpyramid-957e7c3e0b9a86ae83e4e2a106144c4a310a4919.tar.gz
pyramid-957e7c3e0b9a86ae83e4e2a106144c4a310a4919.tar.bz2
pyramid-957e7c3e0b9a86ae83e4e2a106144c4a310a4919.zip
Restore request.response if renderer raises exception
This fixes two bugs in the ``temporary_response`` context manager: - ``Request.response`` should be restored even if the renderer raises an exception - If ``request.response`` is initially set to ``None``, it should be restored to ``None`` (rather than deleted). References: #1563
Diffstat (limited to 'HACKING.txt')
0 files changed, 0 insertions, 0 deletions