Silence pylint

pull/19292/head
Mehrdad Afshari 6 years ago
parent 45a0e5bd4f
commit 9847c6364a
  1. 2
      src/python/grpcio/grpc/_channel.py

@ -1099,7 +1099,7 @@ class Channel(grpc.Channel):
# effect closure of the underlying cygrpc.Channel instance.
try:
self._unsubscribe_all()
except:
except: # pylint: disable=bare-except
# Exceptions in __del__ are ignored by Python anyway, but they can
# keep spamming logs. Just silence them.
pass

Loading…
Cancel
Save