diff options
author | Mehrdad Afshari <mmx@google.com> | 2018-06-07 23:39:16 -0700 |
---|---|---|
committer | Mehrdad Afshari <mmx@google.com> | 2018-06-07 23:39:16 -0700 |
commit | 109b5b1dccedeb702c8093a064b87097d39c332c (patch) | |
tree | 7563c33f51efdc6cf04f9faca62d19d4abf68a5c /src/python/grpcio_testing/grpc_testing/_server | |
parent | de1718c1c0db4edc2bf7684b7db4e6b3e34fc82a (diff) |
Fix arguments-differ pylint warning
Diffstat (limited to 'src/python/grpcio_testing/grpc_testing/_server')
-rw-r--r-- | src/python/grpcio_testing/grpc_testing/_server/_handler.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/python/grpcio_testing/grpc_testing/_server/_handler.py b/src/python/grpcio_testing/grpc_testing/_server/_handler.py index d4f50f6863..0e3404b0d0 100644 --- a/src/python/grpcio_testing/grpc_testing/_server/_handler.py +++ b/src/python/grpcio_testing/grpc_testing/_server/_handler.py @@ -105,10 +105,10 @@ class _Handler(Handler): self._expiration_future.cancel() self._condition.notify_all() - def add_termination_callback(self, termination_callback): + def add_termination_callback(self, callback): with self._condition: if self._code is None: - self._termination_callbacks.append(termination_callback) + self._termination_callbacks.append(callback) return True else: return False |