From 663bd2571cc81a9477408c0711aeb6b2452c17a8 Mon Sep 17 00:00:00 2001 From: Brian Murray Date: Tue, 6 Aug 2024 12:41:38 -0700 Subject: [PATCH] auotpkgtest.py: we need to look at the binaries to find the arch --- britney2/policies/autopkgtest.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/britney2/policies/autopkgtest.py b/britney2/policies/autopkgtest.py index 8864bff..6b56c10 100644 --- a/britney2/policies/autopkgtest.py +++ b/britney2/policies/autopkgtest.py @@ -705,7 +705,8 @@ class AutopkgtestPolicy(BasePolicy): try: if arch == "i386": all_binaries_arch_all = True - for pkg_id in source_suite.sources[src]: + srcinfo = source_suite.sources[src] + for pkg_id in srcinfo.binaries: if pkg_id.architecture != "all": all_binaries_arch_all = False if all_binaries_arch_all: