From 00a7d7def8131cd3f86830de2b54a69ca9af5234 Mon Sep 17 00:00:00 2001 From: Rebecca Graber Date: Fri, 11 Aug 2023 08:59:37 -0400 Subject: [PATCH] fixup!: quality --- edx_arch_experiments/scripts/republish_failed_events.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/edx_arch_experiments/scripts/republish_failed_events.py b/edx_arch_experiments/scripts/republish_failed_events.py index e2268a1..6cea5e9 100644 --- a/edx_arch_experiments/scripts/republish_failed_events.py +++ b/edx_arch_experiments/scripts/republish_failed_events.py @@ -33,8 +33,8 @@ def read_and_send_events(filename): reader = csv.DictReader(log_file) # Make sure csv contains all necessary columns for republishing if not all(column in reader.fieldnames for column in log_columns): - print(f'Missing required columns {set(log_columns).difference(set(reader.fieldnames))}. Cannot republish' - f'events.') + print(f'Missing required columns {set(log_columns).difference(set(reader.fieldnames))}. Cannot' + f' republish events.') sys.exit(1) ids = set() for row in reader: @@ -66,4 +66,4 @@ def read_and_send_events(filename): if __name__ == '__main__': - read_and_send_events() \ No newline at end of file + read_and_send_events()