diff options
author | Ted Ross <tross@apache.org> | 2008-09-18 22:19:22 +0000 |
---|---|---|
committer | Ted Ross <tross@apache.org> | 2008-09-18 22:19:22 +0000 |
commit | bb4d2bcb0c11da57773e014e71db2de1e84a7ec8 (patch) | |
tree | 9b18ed118bce192c9c758ca76043913d16fc3cfa | |
parent | 6b6b5d003c1eb75595ca479509c9089bc36ca7a2 (diff) | |
download | qpid-python-bb4d2bcb0c11da57773e014e71db2de1e84a7ec8.tar.gz |
QPID-1288 - Removed test code
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@696833 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | qpid/python/qpid/qmfconsole.py | 16 |
1 files 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]) |