You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by tr...@apache.org on 2011/02/14 14:03:28 UTC

svn commit: r1070478 - /qpid/trunk/qpid/cpp/bindings/qmf2/python/qmf2.py

Author: tross
Date: Mon Feb 14 13:03:27 2011
New Revision: 1070478

URL: http://svn.apache.org/viewvc?rev=1070478&view=rev
Log:
QPID-3046 - Bug fixed in handling of deleted agents (ConsoleSession).
Bug found by Steve Loranz.

Modified:
    qpid/trunk/qpid/cpp/bindings/qmf2/python/qmf2.py

Modified: qpid/trunk/qpid/cpp/bindings/qmf2/python/qmf2.py
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/bindings/qmf2/python/qmf2.py?rev=1070478&r1=1070477&r2=1070478&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/bindings/qmf2/python/qmf2.py (original)
+++ qpid/trunk/qpid/cpp/bindings/qmf2/python/qmf2.py Mon Feb 14 13:03:27 2011
@@ -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()))



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org