]> git.mxchange.org Git - quix0rs-apt-p2p.git/blobdiff - apt_p2p_Khashmir/krpc.py
Fix a typo bug in the Krpc error messages.
[quix0rs-apt-p2p.git] / 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):