]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-35036: Remove empty log line in the suspicious.py tool (GH-10024)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 8 Oct 2019 03:43:53 +0000 (20:43 -0700)
committerGitHub <noreply@github.com>
Tue, 8 Oct 2019 03:43:53 +0000 (20:43 -0700)
Previous to commit ee171a2 the logline was working because of self.info() (now
deprecated) defaults to an empty message.
(cherry picked from commit c3f52a59ce8406d9e59253ad4621e4749abdaeef)

Co-authored-by: Xtreak <tirkarthi@users.noreply.github.com>
Doc/tools/extensions/suspicious.py

index 8d80f6759bffd4354a24d4dc288927ce1fbf2e4f..494efabc46234e54b7aa65d9a0f4045338c0b317 100644 (file)
@@ -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: