]> granicus.if.org Git - python/commitdiff
asyncio: BaseEventLoop._create_connection_transport() catchs any exception, not
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 21 Jan 2015 23:17:41 +0000 (00:17 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Wed, 21 Jan 2015 23:17:41 +0000 (00:17 +0100)
only Exception

Lib/asyncio/base_events.py

index 739296b761e9a2f374b16c473b0c08e9434379f6..1ceeb2d29552783b565f9e2d59e3a7d526b562b6 100644 (file)
@@ -636,7 +636,7 @@ class BaseEventLoop(events.AbstractEventLoop):
 
         try:
             yield from waiter
-        except Exception:
+        except:
             transport.close()
             raise