From: Gregory P. Smith Date: Fri, 2 Sep 2022 03:53:11 +0000 (-0700) Subject: bpo-35036: Remove empty log line in the suspicious.py tool (GH-10024) (GH-96498) X-Git-Tag: v3.7.14~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5fe9951fe6e69e9175eca24170a220747ec9047;p=thirdparty%2FPython%2Fcpython.git 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 --- diff --git a/Doc/tools/extensions/suspicious.py b/Doc/tools/extensions/suspicious.py index fd50f318170b..9e814fb94d2b 100644 --- a/Doc/tools/extensions/suspicious.py +++ b/Doc/tools/extensions/suspicious.py @@ -150,7 +150,6 @@ class CheckSuspiciousMarkupBuilder(Builder): 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: