use underscore for unused variable in loop

Change-Id: If42a89642f0322c52bed44f402a8dcbb9c0a9bd6
changes/01/865001/4
Hoai-Thu Vuong 7 months ago committed by Michal Nasiadka
parent 1371e4fc5b
commit b8ebae9e37

@ -149,13 +149,13 @@ def run_build():
with join_many(workers):
try:
for x in range(conf.threads):
for _ in range(conf.threads):
worker = WorkerThread(conf, build_queue)
worker.daemon = True
worker.start()
workers.append(worker)
for x in range(conf.push_threads):
for _ in range(conf.push_threads):
worker = WorkerThread(conf, push_queue)
worker.daemon = True
worker.start()

Loading…
Cancel
Save