From f9c99990998f3623fd155b5f5a9fd3b0ba1f0fa0 Mon Sep 17 00:00:00 2001 From: Tres Seaver Date: Tue, 30 Oct 2018 16:29:44 -0400 Subject: [PATCH] Fix error from new flake8 version. --- .../pubsub_v1/subscriber/_protocol/streaming_pull_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pubsub/google/cloud/pubsub_v1/subscriber/_protocol/streaming_pull_manager.py b/pubsub/google/cloud/pubsub_v1/subscriber/_protocol/streaming_pull_manager.py index fdc868b4fa3a..5a7c7d754262 100644 --- a/pubsub/google/cloud/pubsub_v1/subscriber/_protocol/streaming_pull_manager.py +++ b/pubsub/google/cloud/pubsub_v1/subscriber/_protocol/streaming_pull_manager.py @@ -264,7 +264,7 @@ def send(self, request): if self._UNARY_REQUESTS: try: self._send_unary_request(request) - except exceptions.GoogleAPICallError as exc: + except exceptions.GoogleAPICallError: _LOGGER.debug( 'Exception while sending unary RPC. This is typically ' 'non-fatal as stream requests are best-effort.',