[rhmessaging-commits] rhmessaging commits: r4271 - mgmt/newdata/cumin/python/cumin.
rhmessaging-commits at lists.jboss.org
rhmessaging-commits at lists.jboss.org
Thu Sep 9 19:47:50 EDT 2010
Author: eallen
Date: 2010-09-09 19:47:49 -0400 (Thu, 09 Sep 2010)
New Revision: 4271
Modified:
mgmt/newdata/cumin/python/cumin/model.py
Log:
Stringify the status value returned by a qmf call when there is an error. It *should* always be a string anyway, but apparently sometimes it isn't.
Modified: mgmt/newdata/cumin/python/cumin/model.py
===================================================================
--- mgmt/newdata/cumin/python/cumin/model.py 2010-09-09 20:24:51 UTC (rev 4270)
+++ mgmt/newdata/cumin/python/cumin/model.py 2010-09-09 23:47:49 UTC (rev 4271)
@@ -1576,7 +1576,7 @@
self.data = data
self.got_data = True
else:
- self.error = QmfException(status)
+ self.error = QmfException(str(status))
return completion
def do_wait(self):
More information about the rhmessaging-commits
mailing list