Author: eallen
Date: 2008-09-23 17:20:30 -0400 (Tue, 23 Sep 2008)
New Revision: 2536
Modified:
mgmt/trunk/cumin/python/cumin/job.py
Log:
Fixed default value return for GetAds when there is a timeout
Modified: mgmt/trunk/cumin/python/cumin/job.py
===================================================================
--- mgmt/trunk/cumin/python/cumin/job.py 2008-09-23 18:51:18 UTC (rev 2535)
+++ mgmt/trunk/cumin/python/cumin/job.py 2008-09-23 21:20:30 UTC (rev 2536)
@@ -476,7 +476,7 @@
# wait for up to 20 seconds for completion to be called
succeeded = wait(predicate, timeout=20)
if not succeeded:
- self.job_ads = {"":{"VALUE": "",
"TYPE": "expression"}}
+ self.job_ads = {"":{"VALUE": "",
"TYPE": 0}}
return self.job_ads
Show replies by date