summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-01-22 00:15:23 +0100
committerVictor Stinner <victor.stinner@gmail.com>2015-01-22 00:15:23 +0100
commit0bb6858b7c201843f7823ef272c9dfcf7eb9226b (patch)
treea0362f7f101c8020227f11792cf8f249edd749ff
parent550000013c96fbfa295c443c1c6bdbfdd59bea1d (diff)
downloadtrollius-git-0bb6858b7c201843f7823ef272c9dfcf7eb9226b.tar.gz
BaseEventLoop._create_connection_transport() catchs any exception, not only
Exception
-rw-r--r--asyncio/base_events.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/asyncio/base_events.py b/asyncio/base_events.py
index 739296b..1ceeb2d 100644
--- a/asyncio/base_events.py
+++ b/asyncio/base_events.py
@@ -636,7 +636,7 @@ class BaseEventLoop(events.AbstractEventLoop):
try:
yield from waiter
- except Exception:
+ except:
transport.close()
raise