Fixed C414 (unnecessary-double-cast-or-process): Unnecessary `list` call within `sorted()`
This commit is contained in:
parent
4999ed7b1c
commit
e0e6f1081b
|
@ -320,7 +320,7 @@ def scan_mail_log(env):
|
||||||
if collector["other-services"] and VERBOSE and False:
|
if collector["other-services"] and VERBOSE and False:
|
||||||
print_header("Other services")
|
print_header("Other services")
|
||||||
print("The following unkown services were found in the log file.")
|
print("The following unkown services were found in the log file.")
|
||||||
print(" ", *sorted(list(collector["other-services"])), sep='\n│ ')
|
print(" ", *sorted(collector["other-services"]), sep='\n│ ')
|
||||||
|
|
||||||
|
|
||||||
def scan_mail_log_line(line, collector):
|
def scan_mail_log_line(line, collector):
|
||||||
|
|
Loading…
Reference in New Issue