Skip to content
Commit 4170b9f4 authored by Aymeric Augustin's avatar Aymeric Augustin
Browse files

Tested exc_type instead of exc_value in __exit__.

exc_value might be None even though there's an exception, at least on
Python 2.6. Thanks Thomas Chaumeny for the report.

Fixed #21034.

Forward-port of a8624b22 from 1.6.x.
parent 7b623247
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment