[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
@@ -97,7 +97,8 @@ class NodeManager:
|
|||||||
self.trace("setting up nodes")
|
self.trace("setting up nodes")
|
||||||
with ThreadPoolExecutor(max_workers=len(self.specs)) as executor:
|
with ThreadPoolExecutor(max_workers=len(self.specs)) as executor:
|
||||||
futs = [
|
futs = [
|
||||||
executor.submit(self.setup_node, idx, spec, putevent) for idx, spec in enumerate(self.specs)
|
executor.submit(self.setup_node, idx, spec, putevent)
|
||||||
|
for idx, spec in enumerate(self.specs)
|
||||||
]
|
]
|
||||||
return [f.result() for f in futs]
|
return [f.result() for f in futs]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user