From b1d11024c658e03722bee57f97a9ced8e3e6b1bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Cardona?= Date: Tue, 19 Jul 2016 18:10:23 +0200 Subject: [PATCH] protocol: silence pylint about broad exception handling Though in this spot, catching all exceptions is an awful idea. To be addressed in issue #90. --- aioamqp/protocol.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aioamqp/protocol.py b/aioamqp/protocol.py index 9e9d563..f090559 100644 --- a/aioamqp/protocol.py +++ b/aioamqp/protocol.py @@ -286,7 +286,7 @@ def run(self): self.stop_now.set_result(None) self._close_channels(exception=exc) - except Exception: + except Exception: # pylint: disable=broad-except logger.exception('error on dispatch') @asyncio.coroutine