From 745d0c537c6766007dd778947ac56ab3ba271b12 Mon Sep 17 00:00:00 2001 From: mrT23 Date: Sun, 7 Jul 2024 15:07:09 +0300 Subject: [PATCH] hotfix --- pr_agent/algo/pr_processing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pr_agent/algo/pr_processing.py b/pr_agent/algo/pr_processing.py index 8065ea43..b167026c 100644 --- a/pr_agent/algo/pr_processing.py +++ b/pr_agent/algo/pr_processing.py @@ -105,7 +105,7 @@ def get_pr_diff(git_provider: GitProvider, token_handler: TokenHandler, added_list_str = ADDED_FILES_ + f"\n{filename}" else: added_list_str = added_list_str + f"\n{filename}" - elif file_values['edit_type'] == EDIT_TYPE.MODIFIED or EDIT_TYPE.RENAMED: + elif file_values['edit_type'] in [EDIT_TYPE.MODIFIED, EDIT_TYPE.RENAMED]: unprocessed_files.append(filename) if not modified_list_str: modified_list_str = MORE_MODIFIED_FILES_ + f"\n{filename}"