w is unused variable to it is safe to suppress Pylint warning using _

(underscore)
This commit is contained in:
pcdinh 2016-10-23 19:36:08 +07:00
parent 201e232a0d
commit 963aef19e0

View File

@ -296,7 +296,7 @@ class Sanic:
signal(SIGTERM, lambda s, f: stop_event.set())
processes = []
for w in range(workers):
for _ in range(workers):
process = Process(target=serve, kwargs=server_settings)
process.start()
processes.append(process)