use underscore for unused variable in loop

Change-Id: If42a89642f0322c52bed44f402a8dcbb9c0a9bd6
This commit is contained in:
Hoai-Thu Vuong 2022-11-18 15:29:45 +07:00 committed by Michal Nasiadka
parent 1371e4fc5b
commit b8ebae9e37
1 changed files with 2 additions and 2 deletions

View File

@ -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()