From 55dae2c49ba8c283583f3688784f2b763e772020 Mon Sep 17 00:00:00 2001 From: Ted Ross Date: Mon, 27 Oct 2008 02:52:58 +0000 Subject: Put Url.match back in. It isn't unused. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@708075 13f79535-47bb-0310-9956-ffa450edef68 --- python/qpid/qmfconsole.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'python/qpid') diff --git a/python/qpid/qmfconsole.py b/python/qpid/qmfconsole.py index 7bfe5d1128..bfd201fcc3 100644 --- a/python/qpid/qmfconsole.py +++ b/python/qpid/qmfconsole.py @@ -106,6 +106,9 @@ class BrokerURL: def name(self): return self.host + ":" + str(self.port) + def match(self, host, port): + return socket.gethostbyname(self.host) == socket.gethostbyname(host) and self.port == port + class Session: """ An instance of the Session class represents a console session running -- cgit v1.2.1