One final reworking of output format

This commit is contained in:
XANTRONIX Industrial 2025-02-13 19:31:45 -05:00
parent 2cb1066219
commit d818922afa

View file

@ -36,13 +36,13 @@ for path in getattr(args, 'csv-report-details'):
for key in bucket.each_matching_key(radars, report.timestamp_start, report.timestamp_end): for key in bucket.each_matching_key(radars, report.timestamp_start, report.timestamp_end):
if archive.is_downloaded(key): if archive.is_downloaded(key):
if not args.quiet: if not args.quiet:
print(f"{key} event {report.id} already archived") print(f"event {report.id} key {key} already archived")
else: else:
if not args.quiet: if not args.quiet:
if args.dry_run: if args.dry_run:
print(f"{key} event {report.id} would archive") print(f"event {report.id} key {key} would archive")
else: else:
print(f"{key} event {report.id} archiving") print(f"event {report.id} key {key} archiving")
if not args.dry_run: if not args.dry_run:
archive.download(key) archive.download(key)