summaryrefslogtreecommitdiff
path: root/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
commit91dd5b774d42e35fb8b3d94f65dbfd12f6bed915 (patch)
treefdcb24b4243c70a99f520dea5506aafff20fda30 /python/commands/qpid-cluster
parent4a3e1f228d9fb9e5198d6ef779031c61e6eaaa2c (diff)
downloadqpid-python-91dd5b774d42e35fb8b3d94f65dbfd12f6bed915.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/qpid@747897 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/commands/qpid-cluster')
-rwxr-xr-xpython/commands/qpid-cluster3
1 files changed, 3 insertions, 0 deletions
diff --git a/python/commands/qpid-cluster b/python/commands/qpid-cluster
index 2928ba65ea..4bc40e5abc 100755
--- a/python/commands/qpid-cluster
+++ b/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]