Author: justi9
Date: 2010-07-14 13:16:03 -0400 (Wed, 14 Jul 2010)
New Revision: 4118
Modified:
mgmt/newdata/cumin/python/cumin/objecttask.py
Log:
Change failure-mode print out
Modified: mgmt/newdata/cumin/python/cumin/objecttask.py
===================================================================
--- mgmt/newdata/cumin/python/cumin/objecttask.py 2010-07-14 14:19:47 UTC (rev 4117)
+++ mgmt/newdata/cumin/python/cumin/objecttask.py 2010-07-14 17:16:03 UTC (rev 4118)
@@ -174,8 +174,9 @@
def get_status(self, session):
if self.exception:
- return str(self.exception)
+ return "%s (%s)" % (self.status, str(self.exception))
+ #return "%s: %s" % (self.status, str(self.output_args))
return self.status
def end(self):
Show replies by date