[rhmessaging-commits] rhmessaging commits: r1415 - mgmt/cumin/python/cumin.

rhmessaging-commits at lists.jboss.org rhmessaging-commits at lists.jboss.org
Mon Dec 3 11:48:53 EST 2007


Author: justi9
Date: 2007-12-03 11:48:53 -0500 (Mon, 03 Dec 2007)
New Revision: 1415

Modified:
   mgmt/cumin/python/cumin/page.py
Log:
Fixes some links to correctly navigate to broker registrations.



Modified: mgmt/cumin/python/cumin/page.py
===================================================================
--- mgmt/cumin/python/cumin/page.py	2007-12-03 16:41:30 UTC (rev 1414)
+++ mgmt/cumin/python/cumin/page.py	2007-12-03 16:48:53 UTC (rev 1415)
@@ -118,17 +118,17 @@
         return self.set_current_frame(session, frame)
 
     def show_queue(self, session, queue):
-        frame = self.show_broker(session, queue.vhost.broker)
+        frame = self.show_broker(session, queue.vhost.broker.registration)
         frame = frame.show_queue(session, queue)
         return self.set_current_frame(session, frame)
 
     def show_exchange(self, session, exchange):
-        frame = self.show_broker(session, exchange.vhost.broker)
+        frame = self.show_broker(session, exchange.vhost.broker.registration)
         frame = frame.show_exchange(session, exchange)
         return self.set_current_frame(session, frame)
 
     def show_client(self, session, client):
-        frame = self.show_broker(session, client.vhost.broker)
+        frame = self.show_broker(session, client.vhost.broker.registration)
         frame = frame.show_client(session, client)
         return self.set_current_frame(session, frame)
 




More information about the rhmessaging-commits mailing list