One final reworking of output format
This commit is contained in:
parent
2cb1066219
commit
d818922afa
1 changed files with 3 additions and 3 deletions
|
@ -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):
|
||||
if archive.is_downloaded(key):
|
||||
if not args.quiet:
|
||||
print(f"{key} event {report.id} already archived")
|
||||
print(f"event {report.id} key {key} already archived")
|
||||
else:
|
||||
if not args.quiet:
|
||||
if args.dry_run:
|
||||
print(f"{key} event {report.id} would archive")
|
||||
print(f"event {report.id} key {key} would archive")
|
||||
else:
|
||||
print(f"{key} event {report.id} archiving")
|
||||
print(f"event {report.id} key {key} archiving")
|
||||
|
||||
if not args.dry_run:
|
||||
archive.download(key)
|
||||
|
|
Loading…
Add table
Reference in a new issue