mirror of
https://github.com/hohn/sarif-cli.git
synced 2025-12-16 17:23:03 +01:00
Better status updates for sarif-combine-tables
This commit is contained in:
committed by
=Michael Hohn
parent
69f02cf99a
commit
5cce2ed4d1
@@ -5,6 +5,7 @@
|
|||||||
# projects.csv) tables into 4 tables.
|
# projects.csv) tables into 4 tables.
|
||||||
#
|
#
|
||||||
import os
|
import os
|
||||||
|
import sys
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
import pandas as pd
|
import pandas as pd
|
||||||
|
|
||||||
@@ -77,9 +78,11 @@ for path in paths:
|
|||||||
_extract_scans_tables[file_prefix].append(data)
|
_extract_scans_tables[file_prefix].append(data)
|
||||||
|
|
||||||
# Some timing information
|
# Some timing information
|
||||||
if count % 30 == 0:
|
if count % 100 == 0:
|
||||||
|
print("{:6} {:6}/{:6}".format("COUNT", count, len(paths)))
|
||||||
print("{:6} {}".format("DATE", datetime.now().isoformat()))
|
print("{:6} {}".format("DATE", datetime.now().isoformat()))
|
||||||
|
sys.stdout.flush()
|
||||||
|
|
||||||
#
|
#
|
||||||
# Create and write the combined dataframes
|
# Create and write the combined dataframes
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user