summaryrefslogtreecommitdiff
path: root/qpid/python/commands/qpid-cluster
diff options
context:
space:
mode:
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]