Skip to content
Snippets Groups Projects
Commit 14f3925d authored by Masood Malekghassemi's avatar Masood Malekghassemi
Browse files

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

Fix mistaken method name: "append", not "add"
parents 3a303361 1c8f36c4
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment