1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-27 19:37:22 +01:00

Fixed B007 (unused-loop-control-variable)

This commit is contained in:
Teal Dulcet
2023-12-22 07:21:10 -08:00
committed by Joshua Tauberer
parent c953e5784d
commit 57d05c1ab2
5 changed files with 9 additions and 9 deletions

View File

@@ -88,7 +88,7 @@ def run_services_checks(env, output, pool):
all_running = True
fatal = False
ret = pool.starmap(check_service, ((i, service, env) for i, service in enumerate(get_services())), chunksize=1)
for i, running, fatal2, output2 in sorted(ret):
for _i, running, fatal2, output2 in sorted(ret):
if output2 is None: continue # skip check (e.g. no port was set, e.g. no sshd)
all_running = all_running and running
fatal = fatal or fatal2