mirror of https://github.com/python/cpython
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.
This commit is contained in:
parent
2c2044e789
commit
c3f52a59ce
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue