[Python-checkins] bpo-35036: Remove empty log line in the suspicious.py tool (GH-10024)

Pablo Galindo webhook-mailer at python.org
Sun Oct 21 08:57:35 EDT 2018


https://github.com/python/cpython/commit/c3f52a59ce8406d9e59253ad4621e4749abdaeef
commit: c3f52a59ce8406d9e59253ad4621e4749abdaeef
branch: master
author: Xtreak <tirkarthi at users.noreply.github.com>
committer: Pablo Galindo <Pablogsal at gmail.com>
date: 2018-10-21T13:57:32+01:00
summary:

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.

files:
M Doc/tools/extensions/suspicious.py

diff --git a/Doc/tools/extensions/suspicious.py b/Doc/tools/extensions/suspicious.py
index 8d80f6759bff..494efabc4623 100644
--- a/Doc/tools/extensions/suspicious.py
+++ b/Doc/tools/extensions/suspicious.py
@@ -148,7 +148,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:



More information about the Python-checkins mailing list