From e0e6f1081b180e189ff7913868a65dcc84bcc33e Mon Sep 17 00:00:00 2001 From: Teal Dulcet Date: Fri, 22 Dec 2023 07:22:00 -0800 Subject: [PATCH] Fixed C414 (unnecessary-double-cast-or-process): Unnecessary `list` call within `sorted()` --- management/mail_log.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/management/mail_log.py b/management/mail_log.py index ae718e55..a8133218 100755 --- a/management/mail_log.py +++ b/management/mail_log.py @@ -320,7 +320,7 @@ def scan_mail_log(env): if collector["other-services"] and VERBOSE and False: print_header("Other services") 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):