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 | 5e585ea40b04fc2e080281e68624ad59811d4498 (patch) | |
| tree | 688af90ac11141bdabdac8af76eb812b8c030d41 /python | |
| parent | f4d32cbb9b4a05a2af8038077abbdc6d5c04e591 (diff) | |
| download | qpid-python-5e585ea40b04fc2e080281e68624ad59811d4498.tar.gz | |
QPID-1288 - Removed test code
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@696833 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python')
| -rw-r--r-- | python/qpid/qmfconsole.py | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/python/qpid/qmfconsole.py b/python/qpid/qmfconsole.py index 96633bca0d..f83b4f315c 100644 --- a/python/qpid/qmfconsole.py +++ b/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]) |
