invthread flake8 fixes
This commit is contained in:
parent
28e954902d
commit
97cbe43294
|
@ -37,11 +37,11 @@ class InvThread(StoppableThread):
|
||||||
def handleLocallyGenerated(self, stream, hashId):
|
def handleLocallyGenerated(self, stream, hashId):
|
||||||
Dandelion().addHash(hashId, stream=stream)
|
Dandelion().addHash(hashId, stream=stream)
|
||||||
for connection in \
|
for connection in \
|
||||||
BMConnectionPool().inboundConnections.values() + \
|
BMConnectionPool().inboundConnections.values() + \
|
||||||
BMConnectionPool().outboundConnections.values():
|
BMConnectionPool().outboundConnections.values():
|
||||||
if state.dandelion and connection != Dandelion().objectChildStem(hashId):
|
if state.dandelion and connection != Dandelion().objectChildStem(hashId):
|
||||||
continue
|
continue
|
||||||
connection.objectsNewToThem[hashId] = time()
|
connection.objectsNewToThem[hashId] = time()
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
while not state.shutdown:
|
while not state.shutdown:
|
||||||
|
|
Reference in New Issue
Block a user