summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Ross <tross@apache.org>2011-02-14 13:03:27 +0000
committerTed Ross <tross@apache.org>2011-02-14 13:03:27 +0000
commit15825f7a785de397c24873ef6c0e3f720d3268e8 (patch)
treeb44dea5d350a3f8340c288d61c017c5266a43f9e
parentbba79911eff1f8873a8eb4d0db4db25f41a1e367 (diff)
downloadqpid-python-15825f7a785de397c24873ef6c0e3f720d3268e8.tar.gz
QPID-3046 - Bug fixed in handling of deleted agents (ConsoleSession).
Bug found by Steve Loranz. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1070478 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--cpp/bindings/qmf2/python/qmf2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/bindings/qmf2/python/qmf2.py b/cpp/bindings/qmf2/python/qmf2.py
index 2b8ece9dde..9f2d8556f4 100644
--- a/cpp/bindings/qmf2/python/qmf2.py
+++ b/cpp/bindings/qmf2/python/qmf2.py
@@ -165,7 +165,7 @@ class ConsoleHandler(Thread):
reason = 'filter'
if event.getAgentDelReason() == cqmf2.AGENT_DEL_AGED:
reason = 'aged'
- self.agentDeleted(Agent(event.getAgent(), reason))
+ self.agentDeleted(Agent(event.getAgent()), reason)
elif event.getType() == cqmf2.CONSOLE_AGENT_RESTART:
self.agentRestarted(Agent(event.getAgent()))