diff options
| author | Ted Ross <tross@apache.org> | 2009-02-25 19:41:17 +0000 |
|---|---|---|
| committer | Ted Ross <tross@apache.org> | 2009-02-25 19:41:17 +0000 |
| commit | fac33a9073284b701afa8d8aec0a2f15bb653805 (patch) | |
| tree | ffd491fd3b22a73c063809e778f4bbd37df6ba3a /qpid/python/commands/qpid-cluster | |
| parent | 2b90c663875cc035d1e058f52707152601a89fab (diff) | |
| download | qpid-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-x | qpid/python/commands/qpid-cluster | 3 |
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] |
