scripts/compileUiFiles.py

branch
eric7
changeset 11148
15e30f0c76a8
parent 11090
f5f5f5803935
equal deleted inserted replaced
11147:dee6e106b4d3 11148:15e30f0c76a8
95 ] 95 ]
96 96
97 ProcessPoolExecutor = None 97 ProcessPoolExecutor = None
98 if workers != 1: 98 if workers != 1:
99 try: 99 try:
100 from concurrent.futures import ProcessPoolExecutor # noqa: I101, I103 100 from concurrent.futures import ProcessPoolExecutor # noqa: I-101, I-103
101 except NotImplementedError: 101 except NotImplementedError:
102 workers = 1 102 workers = 1
103 103
104 if workers != 1 and ProcessPoolExecutor is not None: 104 if workers != 1 and ProcessPoolExecutor is not None:
105 # If workers == 0, let ProcessPoolExecutor determine worker count. 105 # If workers == 0, let ProcessPoolExecutor determine worker count.
153 " eric-bugs@eric-ide.python-projects.org.\n" 153 " eric-bugs@eric-ide.python-projects.org.\n"
154 ) 154 )
155 raise 155 raise
156 156
157 # 157 #
158 # eflag: noqa = M801 158 # eflag: noqa = M-801

eric ide

mercurial