From b2cf840959051be7952783ca1f7872c9cc561635 Mon Sep 17 00:00:00 2001 From: Quirin Pamp Date: Tue, 30 Jul 2024 11:08:53 +0200 Subject: [PATCH] Merge pull request #1123 from ATIX-AG/gpg_release_file_bug Fixed throwing wrong error when using custom signing service (cherry picked from commit ace91e035b30f2aeccb6e92f2623c776c5005dc7) --- CHANGES/1122.bugfix | 1 + pulp_deb/app/tasks/synchronizing.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 CHANGES/1122.bugfix diff --git a/CHANGES/1122.bugfix b/CHANGES/1122.bugfix new file mode 100644 index 00000000..029e0203 --- /dev/null +++ b/CHANGES/1122.bugfix @@ -0,0 +1 @@ +Fixed throwing the wrong error when pointing to an invalid repository with a custom signing service. diff --git a/pulp_deb/app/tasks/synchronizing.py b/pulp_deb/app/tasks/synchronizing.py index 2b5b9947..f37bedfe 100644 --- a/pulp_deb/app/tasks/synchronizing.py +++ b/pulp_deb/app/tasks/synchronizing.py @@ -399,7 +399,7 @@ async def run(self): release_file.relative_path = da_names["Release"].relative_path else: if self.gpgkey: - d_content.d_artifacts.delete(da_names["Release"]) + d_content.d_artifacts.remove(da_names["Release"]) else: release_file_artifact = da_names["Release"].artifact release_file.relative_path = da_names["Release"].relative_path