qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tr...@apache.org
Subject svn commit: r931534 - /qpid/trunk/qpid/tools/src/py/qpid-stat
Date Wed, 07 Apr 2010 13:29:07 GMT
Author: tross
Date: Wed Apr  7 13:29:07 2010
New Revision: 931534

URL: http://svn.apache.org/viewvc?rev=931534&view=rev
Log:
Fixed qpid-stat failure in cluster case

Modified:
    qpid/trunk/qpid/tools/src/py/qpid-stat

Modified: qpid/trunk/qpid/tools/src/py/qpid-stat
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/tools/src/py/qpid-stat?rev=931534&r1=931533&r2=931534&view=diff
==============================================================================
--- qpid/trunk/qpid/tools/src/py/qpid-stat (original)
+++ qpid/trunk/qpid/tools/src/py/qpid-stat Wed Apr  7 13:29:07 2010
@@ -152,7 +152,7 @@ class BrokerManager(Console):
         self.broker = self.qmf.addBroker(brokerUrl, _connTimeout)
         agents = self.qmf.getAgents()
         for a in agents:
-            if a.getAgentBank() == 0:
+            if a.getAgentBank() == '0':
                 self.brokerAgent = a
 
     def Disconnect(self):



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org


Mime
View raw message