summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-01-16 17:35:59 +0100
committerVictor Stinner <victor.stinner@gmail.com>2015-01-16 17:35:59 +0100
commit21192c42f2b540a560b29346e0de549920c01ad1 (patch)
treea4e47511188569f6be8fdebf4a0425a5aa248a70
parente87e26f866e407c1a82639f0d6c1424efafc346f (diff)
downloadtrollius-git-21192c42f2b540a560b29346e0de549920c01ad1.tar.gz
Cleanup BaseEventLoop._create_connection_transport()
Remove the exc variable, it's not used.
-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 5df5b83..739296b 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 as exc:
+ except Exception:
transport.close()
raise