Skip to content

Commit 9847c63

Browse files
committed
Silence pylint
1 parent 45a0e5b commit 9847c63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/python/grpcio/grpc/_channel.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1099,7 +1099,7 @@ def __del__(self):
10991099
# effect closure of the underlying cygrpc.Channel instance.
11001100
try:
11011101
self._unsubscribe_all()
1102-
except:
1102+
except: # pylint: disable=bare-except
11031103
# Exceptions in __del__ are ignored by Python anyway, but they can
11041104
# keep spamming logs. Just silence them.
11051105
pass

0 commit comments

Comments
 (0)