Author: justi9
Date: 2008-04-07 18:02:20 -0400 (Mon, 07 Apr 2008)
New Revision: 1853
Modified:
mgmt/cumin/python/cumin/model.py
Log:
Repair some misnamed methods.
Modified: mgmt/cumin/python/cumin/model.py
===================================================================
--- mgmt/cumin/python/cumin/model.py 2008-04-07 20:58:51 UTC (rev 1852)
+++ mgmt/cumin/python/cumin/model.py 2008-04-07 22:02:20 UTC (rev 1853)
@@ -471,9 +471,12 @@
#action.title = "Send Ping"
#action.summary = True
- def show(self, session, system):
+ def show_object(self, session, system):
return self.cumin_model.show_main(session).show_system(session, system)
+ def get_object_name(self, object):
+ return object.nodeName
+
class CuminBroker(RemoteClass):
def __init__(self, model):
super(CuminBroker, self).__init__(model, "broker", Broker,
BrokerStats)
@@ -508,7 +511,7 @@
prop = CuminProperty(self, "dataDir")
prop.title = "Data Directory"
- def show(self, session, broker):
+ def show_object(self, session, broker):
return self.cumin_model.show_main(session).show_broker(session, broker)
class CuminQueue(RemoteClass):
Show replies by date