File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 11from __future__ import annotations
2- from concurrent .futures import ThreadPoolExecutor
32
43from collections .abc import Sequence
5- import time
4+ from concurrent . futures import ThreadPoolExecutor
65import enum
76import fnmatch
87import os
98from pathlib import Path
109import re
1110import sys
11+ import time
1212from typing import Any
1313from typing import Callable
1414from typing import Literal
@@ -98,9 +98,11 @@ def setup_nodes(
9898 self .trace ("setting up nodes" )
9999 t = time .monotonic ()
100100 with ThreadPoolExecutor (max_workers = len (self .specs )) as executor :
101- futs = [executor .submit (self .setup_node , spec , putevent ) for spec in self .specs ]
101+ futs = [
102+ executor .submit (self .setup_node , spec , putevent ) for spec in self .specs
103+ ]
102104 ret = [f .result () for f in futs ]
103- print (' setup_nodes took %.3f seconds' % (time .monotonic () - t ))
105+ print (" setup_nodes took %.3f seconds" % (time .monotonic () - t ))
104106 return ret
105107
106108 def setup_node (
You can’t perform that action at this time.
0 commit comments