Skip to content

Commit

Permalink
fix update to initialize log (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
mingness authored Oct 30, 2024
1 parent 1bf70a4 commit 9532d35
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/fetch_updates.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ def update_contribution(contribution, props):
def log_broken(contribution, msg):
if contribution['status'] == 'VALID':
contribution['status'] = 'BROKEN'
if 'log' not in contribution:
contribution['log'] = []
contribution['log'].append(msg)

def process_contribution(contribution):
Expand Down

0 comments on commit 9532d35

Please sign in to comment.