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()