Planned maintenance on Wednesday, 2021-01-20, 17:00-18:00. Expect some interruptions during that time

Commit 4f9b12f8 authored by Lauri Himanen's avatar Lauri Himanen

Added ParseSuccess and parsing statistics to the function that prints the JSON footer.

parent 17a0955e
......@@ -352,7 +352,8 @@ class AbstractBaseParser(with_metaclass(ABCMeta, object)):
self.backend.startedParsingSession(uri, self.parser_context.parser_info)
def print_json_footer(self):
self.super_backend.fileOut.write("]]\n")
self.backend.finishedParsingSession("ParseSuccess", None)
self.super_backend.fileOut.write("]\n")
@abstractmethod
def parse(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment