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
commit4f99b2f089c0c8f33b0cfd5c7d41f774579bcd39 (patch)
treea0362f7f101c8020227f11792cf8f249edd749ff
parent71e2009f93876c897798d59703257a50caff8af6 (diff)
downloadtrollius-4f99b2f089c0c8f33b0cfd5c7d41f774579bcd39.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