summaryrefslogtreecommitdiff
path: root/qpid/python/commands/qpid-cluster
diff options
context:
space:
mode:
authorTed Ross <tross@apache.org>2009-02-25 19:41:17 +0000
committerTed Ross <tross@apache.org>2009-02-25 19:41:17 +0000
commitfac33a9073284b701afa8d8aec0a2f15bb653805 (patch)
treeffd491fd3b22a73c063809e778f4bbd37df6ba3a /qpid/python/commands/qpid-cluster
parent2b90c663875cc035d1e058f52707152601a89fab (diff)
downloadqpid-python-fac33a9073284b701afa8d8aec0a2f15bb653805.tar.gz
Added a new utility for viewing broker stats.
Fixed a bug in qpid-cluster that causes failure when username/password are included in the broker URL. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@747897 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/python/commands/qpid-cluster')
-rwxr-xr-xqpid/python/commands/qpid-cluster3
1 files changed, 3 insertions, 0 deletions
diff --git a/qpid/python/commands/qpid-cluster b/qpid/python/commands/qpid-cluster
index 2928ba65ea..4bc40e5abc 100755
--- a/qpid/python/commands/qpid-cluster
+++ b/qpid/python/commands/qpid-cluster
@@ -56,6 +56,9 @@ def Usage ():
class IpAddr:
def __init__(self, text):
+ if text.find("@") != -1:
+ tokens = text.split("@")
+ text = tokens[1]
if text.find(":") != -1:
tokens = text.split(":")
text = tokens[0]