From: Xtreak Date: Sun, 21 Oct 2018 12:57:32 +0000 (+0530) Subject: bpo-35036: Remove empty log line in the suspicious.py tool (GH-10024) X-Git-Tag: v3.8.0a1~708 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c3f52a59ce8406d9e59253ad4621e4749abdaeef;p=python bpo-35036: Remove empty log line in the suspicious.py tool (GH-10024) Previous to commit ee171a2 the logline was working because of self.info() (now deprecated) defaults to an empty message. --- diff --git a/Doc/tools/extensions/suspicious.py b/Doc/tools/extensions/suspicious.py index 8d80f6759b..494efabc46 100644 --- a/Doc/tools/extensions/suspicious.py +++ b/Doc/tools/extensions/suspicious.py @@ -148,7 +148,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: