diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-01-21 23:17:41 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-01-21 23:17:41 (GMT) |
commit | 0c2e4088334906bd883caabe3573bba3f82d0819 (patch) | |
tree | 69710444779e4d6d97d57a113f70f6b23b7bb5d8 /Lib | |
parent | d0a28dee78d099fcadc71147cba4affb6efa0c97 (diff) | |
download | cpython-0c2e4088334906bd883caabe3573bba3f82d0819.zip cpython-0c2e4088334906bd883caabe3573bba3f82d0819.tar.gz cpython-0c2e4088334906bd883caabe3573bba3f82d0819.tar.bz2 |
asyncio: BaseEventLoop._create_connection_transport() catchs any exception, not
only Exception
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/asyncio/base_events.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/asyncio/base_events.py b/Lib/asyncio/base_events.py index 739296b..1ceeb2d 100644 --- a/Lib/asyncio/base_events.py +++ b/Lib/asyncio/base_events.py @@ -636,7 +636,7 @@ class BaseEventLoop(events.AbstractEventLoop): try: yield from waiter - except Exception: + except: transport.close() raise |