1
0
鏡像自 https://github.com/mail-in-a-box/mailinabox.git 已同步 2026-04-01 21:27:22 +02:00

Fixed C414 (unnecessary-double-cast-or-process): Unnecessary list call within sorted()

此提交包含在:
Teal Dulcet
2023-12-22 07:22:00 -08:00
父節點 d952590457
當前提交 bddc2385db

查看文件

@@ -320,7 +320,7 @@ def scan_mail_log(env):
if collector["other-services"] 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):