]> granicus.if.org Git - python/commitdiff
bpo-35036: Remove empty log line in the suspicious.py tool (GH-10024)
authorXtreak <tirkarthi@users.noreply.github.com>
Sun, 21 Oct 2018 12:57:32 +0000 (18:27 +0530)
committerPablo Galindo <Pablogsal@gmail.com>
Sun, 21 Oct 2018 12:57:32 +0000 (13:57 +0100)
Previous to commit ee171a2 the logline was working because of self.info() (now
deprecated) defaults to an empty message.

Doc/tools/extensions/suspicious.py

index 8d80f6759bffd4354a24d4dc288927ce1fbf2e4f..494efabc46234e54b7aa65d9a0f4045338c0b317 100644 (file)
@@ -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: