Fix a typo bug in the Krpc error messages.
authorCameron Dale <camrdale@gmail.com>
Sat, 10 May 2008 01:33:24 +0000 (18:33 -0700)
committerCameron Dale <camrdale@gmail.com>
Sat, 10 May 2008 01:33:24 +0000 (18:33 -0700)
apt_p2p_Khashmir/krpc.py

index 7560470a0a2ad36d0f3746819a47b22b7f4129ce..c3dcfb69a57dd04cf5ba2f7b2e69d0aeec80f62b 100644 (file)
@@ -429,7 +429,7 @@ class KRPC:
             else:
                 # no tid, this transaction was finished already...
                 log.msg('received an error %r from %r for completed request: %r' %
-                        (msg[ERR], msg[RSP]['id'], msg[TID]))
+                        (msg[ERR], addr, msg[TID]))
         else:
             # Received an unknown message type
             if self.config.get('SPEW', False):