From bb4d2bcb0c11da57773e014e71db2de1e84a7ec8 Mon Sep 17 00:00:00 2001 From: Ted Ross Date: Thu, 18 Sep 2008 22:19:22 +0000 Subject: QPID-1288 - Removed test code git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@696833 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/python/qpid/qmfconsole.py | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/qpid/python/qpid/qmfconsole.py b/qpid/python/qpid/qmfconsole.py index 96633bca0d..f83b4f315c 100644 --- a/qpid/python/qpid/qmfconsole.py +++ b/qpid/python/qpid/qmfconsole.py @@ -52,9 +52,7 @@ class Console: def objectProps(self, broker, id, record): """ Invoked when an object is updated. """ - global B - if record.getClassKey()[1] == "broker": - B = record + pass def objectStats(self, broker, id, record): """ Invoked when an object is updated. """ @@ -877,7 +875,7 @@ class Broker: def _decOutstanding(self): self.cv.acquire() self.reqsOutstanding -= 1 - if self.reqsOutstanding == 0 and not self.topicBound and self.session != None: + if self.reqsOutstanding == 0 and not self.topicBound and self.session.console != None: self.topicBound = True self.amqpSession.exchange_bind(exchange="qpid.management", queue=self.topicName, binding_key="mgmt.#") if self.reqsOutstanding == 0 and self.syncInFlight: @@ -945,9 +943,9 @@ class SequenceManager: # TEST -c = Console() -s = Session(c) -b = s.addBroker() -cl = s.getClasses("org.apache.qpid.broker") -sch = s.getSchema(cl[0]) +#c = Console() +#s = Session(c) +#b = s.addBroker() +#cl = s.getClasses("org.apache.qpid.broker") +#sch = s.getSchema(cl[0]) -- cgit v1.2.1