made statements printed to screen shorter

This commit is contained in:
Jonathan Warren 2012-12-19 10:38:45 -05:00
parent 7a98317439
commit 85845ff7a8
1 changed files with 2 additions and 2 deletions

View File

@ -340,10 +340,10 @@ class receiveDataThread(QThread):
random.seed()
objectHash, = random.sample(self.objectsThatWeHaveYetToGet, 1)
if objectHash in inventory:
print 'Inventory (in memory) already has object the hash of which we received in an inv message.'
print 'Inventory (in memory) already has object listed in inv message.'
del self.objectsThatWeHaveYetToGet[objectHash]
elif isInSqlInventory(objectHash):
print 'Inventory (SQL on disk) already has object the hash of which we received in an inv message.'
print 'Inventory (SQL on disk) already has object listed in inv message.'
del self.objectsThatWeHaveYetToGet[objectHash]
else:
print 'processData function making request for object:', repr(objectHash)