From 76a31463b312aad011cd3ebc23e79efb1871078e Mon Sep 17 00:00:00 2001 From: proletarius101 Date: Tue, 4 Jun 2024 22:13:54 +0800 Subject: [PATCH] chore(deploy): cleanup code --- fdroidserver/deploy.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/fdroidserver/deploy.py b/fdroidserver/deploy.py index 6f0a3a08..9ef9b631 100644 --- a/fdroidserver/deploy.py +++ b/fdroidserver/deploy.py @@ -732,10 +732,7 @@ def update_servergitmirrors(servergitmirrors, repo_section): # trailing slashes have a meaning in rsync which is not needed here, so # make sure both paths have exactly one trailing slash if is_index_only: - files_to_sync = [ - str(workspace_dir / repo_section / index_file) - for index_file in INDEX_FILES - ] + files_to_sync = _get_index_file_paths(str(workspace_dir / repo_section)) else: files_to_sync = [str(workspace_dir / repo_section).rstrip('/') + '/'] common.local_rsync(