|
|
|
@ -36,9 +36,9 @@ class InvThread(threading.Thread, StoppableThread):
|
|
|
|
|
try:
|
|
|
|
|
data = invQueue.get(False)
|
|
|
|
|
if len(data) == 2:
|
|
|
|
|
BMConnectionPool().handleReceivedObject(self, data[0], data[1])
|
|
|
|
|
BMConnectionPool().handleReceivedObject(data[0], data[1])
|
|
|
|
|
else:
|
|
|
|
|
BMConnectionPool().handleReceivedObject(self, data[0], data[1], data[2])
|
|
|
|
|
BMConnectionPool().handleReceivedObject(data[0], data[1], data[2])
|
|
|
|
|
self.holdHash (stream, hash)
|
|
|
|
|
#print "Holding hash %i, %s" % (stream, hexlify(hash))
|
|
|
|
|
except Queue.Empty:
|
|
|
|
|