asyncio: BaseEventLoop._create_connection_transport() catchs any exception, not

only Exception
This commit is contained in:
Victor Stinner 2015-01-22 00:17:41 +01:00
parent d0a28dee78
commit 0c2e408833
1 changed files with 1 additions and 1 deletions

View File

@ -636,7 +636,7 @@ class BaseEventLoop(events.AbstractEventLoop):
try:
yield from waiter
except Exception:
except:
transport.close()
raise