From d952590457c329fe1af017641e8c726f854bef06 Mon Sep 17 00:00:00 2001 From: Teal Dulcet Date: Fri, 22 Dec 2023 07:21:50 -0800 Subject: [PATCH] Fixed SIM223 (expr-and-false): Use `False` instead of `... and False` --- 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..1b5a8d41 100755 --- a/management/mail_log.py +++ b/management/mail_log.py @@ -317,7 +317,7 @@ def scan_mail_log(env): latest=[u["latest"] for u in data.values()], ) - if collector["other-services"] and VERBOSE and False: + 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│ ')