Skip to content
Merged
Changes from all commits
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
9 changes: 6 additions & 3 deletions scripts/release_helper/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,9 +300,12 @@ def new_comment_policy(self):
comments = [(comment.updated_at.timestamp(), comment.user.login) for comment in
self.issue_package.issue.get_comments()]
comments.sort()
latest_comments = comments[-1][1]
if latest_comments not in self.language_owner:
self.bot_advice.append('new comment.')
try:
latest_comments = comments[-1][1]
if latest_comments not in self.language_owner:
self.bot_advice.append('new comment.')
except Exception:
self.log('Error happened when getting latest comment.')
Comment thread
msyyc marked this conversation as resolved.

def multi_link_policy(self):
if self.has_label(MULTI_LINK_LABEL):
Expand Down