Skip to content

Commit

Permalink
fixup!: quality
Browse files Browse the repository at this point in the history
  • Loading branch information
Rebecca Graber committed Aug 11, 2023
1 parent 7ad03f1 commit 00a7d7d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions edx_arch_experiments/scripts/republish_failed_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -66,4 +66,4 @@ def read_and_send_events(filename):


if __name__ == '__main__':
read_and_send_events()
read_and_send_events()

0 comments on commit 00a7d7d

Please sign in to comment.