From a6e785281b136fa7c591afcd63ecbeb23f2d3ae2 Mon Sep 17 00:00:00 2001 From: XANTRONIX Industrial Date: Wed, 12 Feb 2025 16:50:43 -0500 Subject: [PATCH] Change output to put S3 keys in same column in all cases --- bin/nexrad-archive | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/nexrad-archive b/bin/nexrad-archive index 2760000..8d8dab8 100755 --- a/bin/nexrad-archive +++ b/bin/nexrad-archive @@ -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): if archive.is_archived(key): if not args.quiet: - print(f"Key {key} already archived ({i})") + print(f"{key} report {i} Already archived") else: if not args.quiet: if args.dry_run: - print(f"Would archive {key} ({i})") + print(f"{key} report {i} Would archive") else: - print(f"Archiving {key} ({i})") + print(f"{key} report {i} Archiving") if not args.dry_run: archive.archive(key)