diff options
author | Xtreak <tirkarthi@users.noreply.github.com> | 2018-10-21 12:57:32 (GMT) |
---|---|---|
committer | Pablo Galindo <Pablogsal@gmail.com> | 2018-10-21 12:57:32 (GMT) |
commit | c3f52a59ce8406d9e59253ad4621e4749abdaeef (patch) | |
tree | 27cab604f908c0ae2efa2bf2fcfa81837dea2466 /Doc/tools/extensions | |
parent | 2c2044e789875ea736ec42e216fdbe61816fbe28 (diff) | |
download | cpython-c3f52a59ce8406d9e59253ad4621e4749abdaeef.zip cpython-c3f52a59ce8406d9e59253ad4621e4749abdaeef.tar.gz cpython-c3f52a59ce8406d9e59253ad4621e4749abdaeef.tar.bz2 |
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.
Diffstat (limited to 'Doc/tools/extensions')
-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 8d80f67..494efab 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: |