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
commit501b280c516e6d3e37d7cf83505d2878955c7d0c (patch)
treebbdc61e7a09a8ff36bb34471da2bc4e26183dc2b
parent5a8e354871c2f6d129e796403611e200d6f997e4 (diff)
downloadqpid-python-501b280c516e6d3e37d7cf83505d2878955c7d0c.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@1070478 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--qpid/cpp/bindings/qmf2/python/qmf2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/bindings/qmf2/python/qmf2.py b/qpid/cpp/bindings/qmf2/python/qmf2.py
index 2b8ece9dde..9f2d8556f4 100644
--- a/qpid/cpp/bindings/qmf2/python/qmf2.py
+++ b/qpid/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()))