You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by be...@apache.org on 2013/11/20 00:17:10 UTC

git commit: Bug fix in Python CLI futures.

Updated Branches:
  refs/heads/master 998d0847e -> 0fa399d9d


Bug fix in Python CLI futures.

Review: https://reviews.apache.org/r/15691


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/0fa399d9
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/0fa399d9
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/0fa399d9

Branch: refs/heads/master
Commit: 0fa399d9d44248d408d6cb69b5462da9079ad938
Parents: 998d084
Author: Benjamin Hindman <be...@gmail.com>
Authored: Tue Nov 19 15:12:16 2013 -0800
Committer: Benjamin Hindman <be...@gmail.com>
Committed: Tue Nov 19 15:12:50 2013 -0800

----------------------------------------------------------------------
 src/cli/python/mesos/futures.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/0fa399d9/src/cli/python/mesos/futures.py
----------------------------------------------------------------------
diff --git a/src/cli/python/mesos/futures.py b/src/cli/python/mesos/futures.py
index 9c36823..be374cf 100644
--- a/src/cli/python/mesos/futures.py
+++ b/src/cli/python/mesos/futures.py
@@ -76,7 +76,7 @@ except ImportError:
         def set_exception(self, exception):
             with self._lock:
                 self._exception = exception
-                self._done = True
+                self._finish()
 
         def _await(self, timeout):
             with self._lock: