Skip to content

Commit 9532d35

Browse files
authored
fix update to initialize log (#4)
1 parent 1bf70a4 commit 9532d35

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/fetch_updates.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ def update_contribution(contribution, props):
2626
def log_broken(contribution, msg):
2727
if contribution['status'] == 'VALID':
2828
contribution['status'] = 'BROKEN'
29+
if 'log' not in contribution:
30+
contribution['log'] = []
2931
contribution['log'].append(msg)
3032

3133
def process_contribution(contribution):

0 commit comments

Comments
 (0)