Author: gsim
Date: Tue Feb 20 07:39:14 2007
New Revision: 509611

URL: http://svn.apache.org/viewvc?view=rev&rev=509611
Log:
Fixed bug where response id rather than request id was being used to get 
listener for response.


Modified:
    incubator/qpid/branches/qpid.0-9/python/qpid/peer.py

Modified: incubator/qpid/branches/qpid.0-9/python/qpid/peer.py
URL: 
http://svn.apache.org/viewvc/incubator/qpid/branches/qpid.0-9/python/qpid/peer.py?view=diff&rev=509611&r1=509610&r2=509611
==============================================================================
--- incubator/qpid/branches/qpid.0-9/python/qpid/peer.py (original)
+++ incubator/qpid/branches/qpid.0-9/python/qpid/peer.py Tue Feb 20 07:39:14 
2007
@@ -146,7 +146,7 @@
     self.write(frame, content)
 
   def receive(self, channel, frame):
-    listener = self.outstanding.pop(frame.id)
+    listener = self.outstanding.pop(frame.request_id)
     listener(channel, frame)
 
 class Responder:


Reply via email to