Skip to content

Commit 0b7ce4b

Browse files
committed
Make changelog avatars optional
1 parent f5b7396 commit 0b7ce4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

changelog/gerrit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def __init__(self, url, obj):
7171
except KeyError:
7272
self.email = 'unknown'
7373
self.avatars = {}
74-
for i in obj['avatars']:
74+
for i in obj.get('avatars', []):
7575
self.avatars[i['height']] = i['url']
7676

7777

0 commit comments

Comments
 (0)