X-Git-Url: https://git.mxchange.org/?p=quix0rs-apt-p2p.git;a=blobdiff_plain;f=apt_p2p_Khashmir%2Factions.py;h=fc8746cc86b2d572d5a49e11aed79a2266eeb1ff;hp=0ac96479a9e716c5dd6801c9f9e8014ba9239610;hb=394d446ab8d4bdb7f010a81e97b7ff7898a99e4a;hpb=f35f06144fbdb8f63f0cc43c37c5ec284b6a9aec diff --git a/apt_p2p_Khashmir/actions.py b/apt_p2p_Khashmir/actions.py index 0ac9647..fc8746c 100644 --- a/apt_p2p_Khashmir/actions.py +++ b/apt_p2p_Khashmir/actions.py @@ -1,5 +1,3 @@ -## Copyright 2002-2004 Andrew Loewenstern, All Rights Reserved -# see LICENSE.txt for license information """Details of how to perform actions on remote peers.""" @@ -186,7 +184,7 @@ class ActionBase: def gotResponse(self, dict, node, expected_results, df): """Receive a response from a remote node.""" - self.caller.insertNode(node) + reactor.callLater(0, self.caller.insertNode, node) if self.finished or self.answered.has_key(node.id): # a day late and a dollar short return