[core] Graph: remove useless getAlreadySubmittedChunks method

This commit is contained in:
Julien-Haudegond 2020-08-27 12:20:46 +02:00
parent 201ab0b5fb
commit fb477d486c

View file

@ -1173,14 +1173,6 @@ def loadGraph(filepath):
return graph
def getAlreadySubmittedChunks(nodes):
out = []
for node in nodes:
for chunk in node.chunks:
if chunk.isAlreadySubmitted():
out.append(chunk)
return out
def submitGraph(graph, submitter, toNodes=None):
nodesToProcess, edgesToProcess = graph.dfsToProcess(startNodes=toNodes)
flowEdges = graph.flowEdges(startNodes=toNodes)