Merge "use underscore for unused variable in loop"

This commit is contained in:
Zuul 2023-01-31 07:13:31 +00:00 committed by Gerrit Code Review
commit 0c8ce111ba
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()