Author: nunofsantos
Date: 2008-11-21 10:51:43 -0500 (Fri, 21 Nov 2008)
New Revision: 2859
Modified:
mgmt/trunk/mint/python/mint/__init__.py
Log:
change handling of class keys to reflect new string representation in qmf.console
Modified: mgmt/trunk/mint/python/mint/__init__.py
===================================================================
--- mgmt/trunk/mint/python/mint/__init__.py 2008-11-21 15:40:40 UTC (rev 2858)
+++ mgmt/trunk/mint/python/mint/__init__.py 2008-11-21 15:51:43 UTC (rev 2859)
@@ -12,6 +12,7 @@
from mint.schema import *
from mint import update
from mint.cache import MintCache
+from qmf.console import ClassKey
log = logging.getLogger("mint")
@@ -436,7 +437,7 @@
finally:
self.unlock()
- seq = self.mgmtSession._sendMethodRequest(broker, classKey, objId, methodName, args)
+ seq = self.mgmtSession._sendMethodRequest(broker, ClassKey(classKey), objId,
methodName, args)
if seq is not None:
self.lock()
Show replies by date