diff options
author | Gregory P. Smith <greg@krypto.org> | 2022-09-01 20:53:11 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-01 23:53:11 -0400 |
commit | d5fe9951fe6e69e9175eca24170a220747ec9047 (patch) | |
tree | 21a780fd13fce33ab2298a00866e1b919699204b | |
parent | 6fde29377fd57fea13a54dd847b7cf171c2df6d1 (diff) | |
download | cpython-git-d5fe9951fe6e69e9175eca24170a220747ec9047.tar.gz |
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@users.noreply.github.com>
-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 fd50f31817..9e814fb94d 100644 --- a/Doc/tools/extensions/suspicious.py +++ b/Doc/tools/extensions/suspicious.py @@ -150,7 +150,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: |