[Python-checkins] bpo-35036: Remove empty log line in the suspicious.py tool (GH-10024) (GH-96498)
ned-deily
webhook-mailer at python.org
Thu Sep 1 23:53:17 EDT 2022
https://github.com/python/cpython/commit/d5fe9951fe6e69e9175eca24170a220747ec9047
commit: d5fe9951fe6e69e9175eca24170a220747ec9047
branch: 3.7
author: Gregory P. Smith <greg at krypto.org>
committer: ned-deily <nad at python.org>
date: 2022-09-01T23:53:11-04:00
summary:
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 at users.noreply.github.com>
files:
M Doc/tools/extensions/suspicious.py
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 @@ 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