Merge pull request #1686 from nathanielmanistaatgoogle/fix-append-call

Fix mistaken method name: "append", not "add"
pull/1693/head
Masood Malekghassemi 10 years ago
commit 14f3925d97
  1. 2
      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)

Loading…
Cancel
Save