Merge pull request #153 from marshally/fix_iteration_error_in_reflect_tmp

fix TypeError when iterating discussion_messages
This commit is contained in:
Ori Kotek
2023-07-28 12:12:12 +03:00
committed by GitHub

View File

@ -250,7 +250,7 @@ class PRReviewer:
if self.is_answer:
discussion_messages = self.git_provider.get_issue_comments()
for message in reversed(discussion_messages):
for message in discussion_messages.reversed:
if "Questions to better understand the PR:" in message.body:
question_str = message.body
elif '/answer' in message.body: