Author: justi9
Date: 2007-11-02 17:05:13 -0400 (Fri, 02 Nov 2007)
New Revision: 1225
Modified:
mgmt/cumin/python/cumin/client.py
mgmt/cumin/python/cumin/exchange.py
Log:
Make client status use the little boxes.
Modified: mgmt/cumin/python/cumin/client.py
===================================================================
--- mgmt/cumin/python/cumin/client.py 2007-11-02 20:42:59 UTC (rev 1224)
+++ mgmt/cumin/python/cumin/client.py 2007-11-02 21:05:13 UTC (rev 1225)
@@ -21,7 +21,7 @@
return mlink(branch.marshal(), "Client", client.address)
def render_item_status(self, session, client):
- return "Attached"
+ return status(len(client.errors), len(client.warnings))
def render_item_messages_produced(self, session, client):
return client.get_measurement("msgsProduced").get_value()
Modified: mgmt/cumin/python/cumin/exchange.py
===================================================================
--- mgmt/cumin/python/cumin/exchange.py 2007-11-02 20:42:59 UTC (rev 1224)
+++ mgmt/cumin/python/cumin/exchange.py 2007-11-02 21:05:13 UTC (rev 1225)
@@ -124,10 +124,6 @@
else:
raise Exception()
- class ExchangeProducers(Widget):
- def render_title(self, session, queue):
- return "Producers"
-
class ExchangeBindingSet(ItemSet):
def render_title(self, session, exchange):
return "Queue Bindings (%i)" % len(exchange.binding_items())