use underscore for unused variable in loop
Change-Id: If42a89642f0322c52bed44f402a8dcbb9c0a9bd6
This commit is contained in:
parent
1371e4fc5b
commit
b8ebae9e37
|
@ -149,13 +149,13 @@ def run_build():
|
||||||
|
|
||||||
with join_many(workers):
|
with join_many(workers):
|
||||||
try:
|
try:
|
||||||
for x in range(conf.threads):
|
for _ in range(conf.threads):
|
||||||
worker = WorkerThread(conf, build_queue)
|
worker = WorkerThread(conf, build_queue)
|
||||||
worker.daemon = True
|
worker.daemon = True
|
||||||
worker.start()
|
worker.start()
|
||||||
workers.append(worker)
|
workers.append(worker)
|
||||||
|
|
||||||
for x in range(conf.push_threads):
|
for _ in range(conf.push_threads):
|
||||||
worker = WorkerThread(conf, push_queue)
|
worker = WorkerThread(conf, push_queue)
|
||||||
worker.daemon = True
|
worker.daemon = True
|
||||||
worker.start()
|
worker.start()
|
||||||
|
|
Loading…
Reference in New Issue