summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-10-07 20:43:53 -0700
committerGitHub <noreply@github.com>2019-10-07 20:43:53 -0700
commite78d79c15cc53bdf8161d41c627cbfb551d8ee96 (patch)
tree6ea9aa087c07c8edb9237c678400f8329f7b5998
parentd9b321692b6770c0fe7cb7ba05f9bd5c6082a880 (diff)
downloadcpython-git-e78d79c15cc53bdf8161d41c627cbfb551d8ee96.tar.gz
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. (cherry picked from commit c3f52a59ce8406d9e59253ad4621e4749abdaeef) Co-authored-by: Xtreak <tirkarthi@users.noreply.github.com>
-rw-r--r--Doc/tools/extensions/suspicious.py1
1 files changed, 0 insertions, 1 deletions
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: