From d5fe9951fe6e69e9175eca24170a220747ec9047 Mon Sep 17 00:00:00 2001 From: "Gregory P. Smith" <greg@krypto.org> Date: Thu, 1 Sep 2022 20:53:11 -0700 Subject: [PATCH] bpo-35036: Remove empty log line in the suspicious.py tool (GH-10024) (GH-96498) Previous to commit ee171a2 the logline was working because of self.info() (now deprecated) defaults to an empty message. Co-authored-by: Xtreak <tirkarthi@users.noreply.github.com> --- Doc/tools/extensions/suspicious.py | 1 - 1 file changed, 1 deletion(-) diff --git a/Doc/tools/extensions/suspicious.py b/Doc/tools/extensions/suspicious.py index fd50f318170..9e814fb94d2 100644 --- a/Doc/tools/extensions/suspicious.py +++ b/Doc/tools/extensions/suspicious.py @@ -150,7 +150,6 @@ def is_ignored(self, line, lineno, issue): return False def report_issue(self, text, lineno, issue): - if not self.any_issue: self.logger.info() self.any_issue = True self.write_log_entry(lineno, issue, text) if py3: -- GitLab