Merge "use underscore for unused variable in loop"
This commit is contained in:
commit
0c8ce111ba
|
@ -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