aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Mehrdad Afshari <mmx@google.com>2018-06-07 22:52:51 -0700
committerGravatar Mehrdad Afshari <mmx@google.com>2018-06-07 22:52:51 -0700
commit4b7223d334318e0eb3bdd9cbf33c2e237fa99757 (patch)
tree435eb1a6cbecb6e465f2d40e9046620a7067f994 /src
parent0aaeedcbd40e78af06d99a98a591f3cc975303a7 (diff)
Remove unnecessary pylint suppressions
Diffstat (limited to 'src')
-rw-r--r--src/python/grpcio/grpc/_channel.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/python/grpcio/grpc/_channel.py b/src/python/grpcio/grpc/_channel.py
index 9fe946b2d5..880c356bfa 100644
--- a/src/python/grpcio/grpc/_channel.py
+++ b/src/python/grpcio/grpc/_channel.py
@@ -192,7 +192,7 @@ def _consume_request_iterator(request_iterator, state, call, request_serializer,
with state.condition:
if state.code is None and not state.cancelled:
if serialized_request is None:
- code = grpc.StatusCode.INTERNAL # pylint: disable=redefined-variable-type
+ code = grpc.StatusCode.INTERNAL
details = 'Exception serializing request!'
call.cancel(
_common.STATUS_CODE_TO_CYGRPC_STATUS_CODE[code],
@@ -816,7 +816,7 @@ def _poll_connectivity(state, channel, initial_try_to_connect):
# NOTE(nathaniel): The field is only ever used as a
# sequence so it's fine that both lists and tuples are
# assigned to it.
- callbacks = _deliveries(state) # pylint: disable=redefined-variable-type
+ callbacks = _deliveries(state)
if callbacks:
_spawn_delivery(state, callbacks)