From c97a065e77ac0570b2dc574a76bd2f4b69aae152 Mon Sep 17 00:00:00 2001
From: Luca Toscano <ltoscano@wikimedia.org>
Date: Thu, 18 Jul 2024 11:32:22 +0200
Subject: [PATCH] python_release.py: remove the extra apt-component arg

When calling the repository build/release script we don't need
to pass the apt-component.
---
 python_release.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python_release.py b/python_release.py
index e30af07..095bd00 100755
--- a/python_release.py
+++ b/python_release.py
@@ -560,7 +560,7 @@ def register_debian(c: ExecutionPlan, args: argparse.Namespace, config: configpa
     )
     c.cmd('scp', f"{Path(__file__).parent}/repository-release.sh", f"{BUILD_HOST}:repository-release")
     for distro in distros:
-        c.cmd('ssh', BUILD_HOST, f'./repository-release "{args.repository}" "{distro}" "{bin_pkg}" "{src_pkg}" "{apt_component}" "{args.version}"')
+        c.cmd('ssh', BUILD_HOST, f'./repository-release "{args.repository}" "{distro}" "{bin_pkg}" "{src_pkg}" "{args.version}"')
 
     if src_pkg == bin_pkg:
         packages: Tuple = (src_pkg,)
-- 
GitLab