diff options
author | Xtreak <tirkarthi@users.noreply.github.com> | 2018-10-21 18:27:32 +0530 |
---|---|---|
committer | Pablo Galindo <Pablogsal@gmail.com> | 2018-10-21 13:57:32 +0100 |
commit | c3f52a59ce8406d9e59253ad4621e4749abdaeef (patch) | |
tree | 27cab604f908c0ae2efa2bf2fcfa81837dea2466 | |
parent | 2c2044e789875ea736ec42e216fdbe61816fbe28 (diff) | |
download | cpython-git-c3f52a59ce8406d9e59253ad4621e4749abdaeef.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.
-rw-r--r-- | Doc/tools/extensions/suspicious.py | 1 |
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: |