We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48e428b commit 265e48eCopy full SHA for 265e48e
src/github_services.py
@@ -199,6 +199,10 @@ def get_pull_request_dict_with_timestamp(
199
"""
200
201
for assignee in pr_dict['assignees']:
202
+ if event['assignee'] is None or assignee is None:
203
+ # This situation can arise if a PR was reviewed by a now-deleted
204
+ # user.
205
+ continue
206
if event['assignee']['login'] == assignee['login']:
207
assignee['created_at'] = parser.parse(event['created_at'])
208
return pr_dict
0 commit comments