[rhmessaging-commits] rhmessaging commits: r4282 - mgmt/newdata/cumin/python/cumin.

rhmessaging-commits at lists.jboss.org rhmessaging-commits at lists.jboss.org
Tue Sep 14 09:18:01 EDT 2010


Author: eallen
Date: 2010-09-14 09:18:00 -0400 (Tue, 14 Sep 2010)
New Revision: 4282

Modified:
   mgmt/newdata/cumin/python/cumin/model.py
Log:
Fixed an exception that happened when we get an error status from a qmf call.

Modified: mgmt/newdata/cumin/python/cumin/model.py
===================================================================
--- mgmt/newdata/cumin/python/cumin/model.py	2010-09-14 10:25:44 UTC (rev 4281)
+++ mgmt/newdata/cumin/python/cumin/model.py	2010-09-14 13:18:00 UTC (rev 4282)
@@ -1554,7 +1554,6 @@
 
 class QmfException(Exception):
     def __init__(self, value):
-        super(QmfException, self).__init__(value)
         self.message = value
 
     def __str__(self):
@@ -1576,7 +1575,7 @@
                 self.data = data
                 self.got_data = True
             else:
-                self.error = QmfException(str(status))
+                self.error = QmfException(status)
         return completion
 
     def do_wait(self):



More information about the rhmessaging-commits mailing list