You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by an...@apache.org on 2011/11/22 00:10:27 UTC
svn commit: r1204744 -
/incubator/mesos/trunk/src/examples/python/test_framework.py
Author: andrew
Date: Mon Nov 21 23:10:26 2011
New Revision: 1204744
URL: http://svn.apache.org/viewvc?rev=1204744&view=rev
Log:
Resolves MESOS-79. Thanks Charles Reiss!
Modified:
incubator/mesos/trunk/src/examples/python/test_framework.py
Modified: incubator/mesos/trunk/src/examples/python/test_framework.py
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/examples/python/test_framework.py?rev=1204744&r1=1204743&r2=1204744&view=diff
==============================================================================
--- incubator/mesos/trunk/src/examples/python/test_framework.py (original)
+++ incubator/mesos/trunk/src/examples/python/test_framework.py Mon Nov 21 23:10:26 2011
@@ -82,5 +82,5 @@ if __name__ == "__main__":
execInfo.executor_id.value = "default"
execInfo.uri = execPath
- mesos.MesosSchedulerDriver(MyScheduler(), "Python test framework",
- execInfo, sys.argv[1]).run()
+ sys.exit(mesos.MesosSchedulerDriver(MyScheduler(), "Python test framework",
+ execInfo, sys.argv[1]).run())