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
commit099ecbea6ee0e9adce23ca7f03bea2b945ba45a3 (patch)
treea4e47511188569f6be8fdebf4a0425a5aa248a70
parentc727ba13637dcadb6bb3a4cdf537657205dd9c4e (diff)
downloadtrollius-099ecbea6ee0e9adce23ca7f03bea2b945ba45a3.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