bpo-35036: Remove empty log line in the suspicious.py tool (GH-10024)
Previous to commitee171a2
the logline was working because of self.info() (now deprecated) defaults to an empty message. (cherry picked from commitc3f52a59ce
) Co-authored-by: Xtreak <tirkarthi@users.noreply.github.com>
This commit is contained in:
parent
d9b321692b
commit
e78d79c15c
|
@ -148,7 +148,6 @@ class CheckSuspiciousMarkupBuilder(Builder):
|
||||||
return False
|
return False
|
||||||
|
|
||||||
def report_issue(self, text, lineno, issue):
|
def report_issue(self, text, lineno, issue):
|
||||||
if not self.any_issue: self.logger.info()
|
|
||||||
self.any_issue = True
|
self.any_issue = True
|
||||||
self.write_log_entry(lineno, issue, text)
|
self.write_log_entry(lineno, issue, text)
|
||||||
if py3:
|
if py3:
|
||||||
|
|
Loading…
Reference in New Issue