summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Ross <tross@apache.org>2010-04-07 13:29:07 +0000
committerTed Ross <tross@apache.org>2010-04-07 13:29:07 +0000
commitcc9ce26a647d4a8fab604db04653e907cc75e850 (patch)
tree43e749e6d1300e754432b1301f9b63b8b243fc41
parent9c43622a95136af1cc3b3c42d92ff2b404b529a8 (diff)
downloadqpid-python-cc9ce26a647d4a8fab604db04653e907cc75e850.tar.gz
Fixed qpid-stat failure in cluster case
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@931534 13f79535-47bb-0310-9956-ffa450edef68
-rwxr-xr-xqpid/tools/src/py/qpid-stat2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/tools/src/py/qpid-stat b/qpid/tools/src/py/qpid-stat
index e3bfe288dd..fd284359b3 100755
--- a/qpid/tools/src/py/qpid-stat
+++ b/qpid/tools/src/py/qpid-stat
@@ -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):