Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/github_services.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,8 @@ def get_pull_request_dict_with_timestamp(
"""

for assignee in pr_dict['assignees']:
if event['assignee'] is None or assignee is None:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kevintab95 Could you please add a comment explaining the circumstances here before we merge this?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update -- I went ahead and made the change.

continue
if event['assignee']['login'] == assignee['login']:
assignee['created_at'] = parser.parse(event['created_at'])
return pr_dict
Expand Down