Skip to content
Snippets Groups Projects
Commit 1eed64be authored by Henning Glawe's avatar Henning Glawe
Browse files

write out parsingStats on finishedParsingSession

parent 55c84d0f
No related branches found
No related tags found
No related merge requests found
......@@ -127,6 +127,8 @@ class JsonParseEventsWriterBackend(object):
self.fileOut.write(",\n \"parserStatus\": " + json.dumps(parserStatus, indent = 2, separators = (',', ':'), sort_keys=True))
if parserErrors is not None and self.sessionParserErrors is None:
self.fileOut.write(",\n \"parserErrors\": " + json.dumps(parserErrors, indent = 2, separators = (',', ':'), sort_keys=True))
if parsingStats is not None:
self.fileOut.write(",\n \"parsingStats\": " + json.dumps(parsingStats, indent = 4, separators = (',', ':'), sort_keys=True))
self.fileOut.write("""
}""")
self.fileOut.flush()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment