Commit 368092f6 authored by Vincent Pelletier's avatar Vincent Pelletier

Include python implementation, version and build in parsing stats.

parent f66076b3
......@@ -37,6 +37,7 @@ import gzip
import json
import math
import os
import platform
import re
import sys
import time
......@@ -632,8 +633,15 @@ def main():
end_stat_time = time.time()
if args.stats:
out.write('<h1>Parsing stats</h1><table class="stats">')
buildno, builddate = platform.python_build()
for caption, value in (
('Execution date', datetime.now().isoformat()),
('Interpreter', '%s %s build %s (%s)' % (
platform.python_implementation(),
platform.python_version(),
buildno,
builddate,
)),
('File count', file_count),
('Lines', all_lines),
('... malformed', malformed_lines),
......
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