diff options
| author | Jeff Dairiki <dairiki@dairiki.org> | 2015-04-15 12:18:53 -0700 |
|---|---|---|
| committer | Jeff Dairiki <dairiki@dairiki.org> | 2015-04-15 12:35:30 -0700 |
| commit | 957e7c3e0b9a86ae83e4e2a106144c4a310a4919 (patch) | |
| tree | a984434e257e44132512dd49b7e0e3cad7ca0170 /docs/conf.py | |
| parent | 875b90d3376c060dea469bc7110c51e20b2eee0a (diff) | |
| download | pyramid-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 'docs/conf.py')
0 files changed, 0 insertions, 0 deletions
