diff options
author | 2015-05-20 21:37:02 -0700 | |
---|---|---|
committer | 2015-05-20 21:37:02 -0700 | |
commit | 14f3925d97d2d66d3ac34f32acd2200258bea5c6 (patch) | |
tree | b4022a10b7f73f977aa3028887dbf0a6516f3956 | |
parent | 3a303361e693be54db6a5d80248f32e8484de00e (diff) | |
parent | 1c8f36c40b1696ee2fe62cd2d088e4de97e65b14 (diff) |
Merge pull request #1686 from nathanielmanistaatgoogle/fix-append-call
Fix mistaken method name: "append", not "add"
-rw-r--r-- | src/python/src/grpc/framework/face/_calls.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/src/grpc/framework/face/_calls.py b/src/python/src/grpc/framework/face/_calls.py index 75a550e3c7..87edeb0f0e 100644 --- a/src/python/src/grpc/framework/face/_calls.py +++ b/src/python/src/grpc/framework/face/_calls.py @@ -248,7 +248,7 @@ class _OperationFuture(future.Future): """See future.Future.add_done_callback for specification.""" with self._condition: if self._callbacks is not None: - self._callbacks.add(fn) + self._callbacks.append(fn) return callable_util.call_logging_exceptions(fn, _DONE_CALLBACK_LOG_MESSAGE, self) |