From 6c7ff0bc4bc2e4b3833e9e7a150cdf36b8579986 Mon Sep 17 00:00:00 2001 From: KonstantAnxiety Date: Wed, 25 Oct 2023 12:54:57 +0300 Subject: [PATCH] Rename --- terrarium/dl_gitmanager/dl_gitmanager/git_manager.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/terrarium/dl_gitmanager/dl_gitmanager/git_manager.py b/terrarium/dl_gitmanager/dl_gitmanager/git_manager.py index 75daf573f..408cc92d1 100644 --- a/terrarium/dl_gitmanager/dl_gitmanager/git_manager.py +++ b/terrarium/dl_gitmanager/dl_gitmanager/git_manager.py @@ -122,9 +122,9 @@ def _collect_paths_from_diffs( for diff_path in (diff_item.a_path, diff_item.b_path): if not diff_path: continue - absolute_path = base_path / diff_path - if not without_deleted or absolute_path.exists(): - result.add(str(absolute_path)) + result_path = base_path / diff_path + if not without_deleted or result_path.exists(): + result.add(str(result_path)) return sorted(result)