Change output to put S3 keys in same column in all cases
This commit is contained in:
parent
015ba27c33
commit
a6e785281b
1 changed files with 3 additions and 3 deletions
|
@ -36,13 +36,13 @@ for report in StormReport.each_from_csv_file(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_archived(key):
|
if archive.is_archived(key):
|
||||||
if not args.quiet:
|
if not args.quiet:
|
||||||
print(f"Key {key} already archived ({i})")
|
print(f"{key} report {i} Already archived")
|
||||||
else:
|
else:
|
||||||
if not args.quiet:
|
if not args.quiet:
|
||||||
if args.dry_run:
|
if args.dry_run:
|
||||||
print(f"Would archive {key} ({i})")
|
print(f"{key} report {i} Would archive")
|
||||||
else:
|
else:
|
||||||
print(f"Archiving {key} ({i})")
|
print(f"{key} report {i} Archiving")
|
||||||
|
|
||||||
if not args.dry_run:
|
if not args.dry_run:
|
||||||
archive.archive(key)
|
archive.archive(key)
|
||||||
|
|
Loading…
Add table
Reference in a new issue