From fa37106b418c573e2048a75c2275bbc4be3039c1 Mon Sep 17 00:00:00 2001 From: Tim Andersson Date: Thu, 8 Aug 2024 11:52:38 +0100 Subject: [PATCH] try another approach to get architecture of binaries Here, instead of using suite_info we use the britney object to get the architecture for a specific binary package --- britney2/policies/autopkgtest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/britney2/policies/autopkgtest.py b/britney2/policies/autopkgtest.py index be9db4e..09db61c 100644 --- a/britney2/policies/autopkgtest.py +++ b/britney2/policies/autopkgtest.py @@ -706,7 +706,7 @@ class AutopkgtestPolicy(BasePolicy): if arch == "i386": all_binaries_arch_all = True for package_name in binaries_info.keys(): - if binaries_info[package_name].architecture != "all": + if self.britney.all_binaries[package_name].architecture != 'all': all_binaries_arch_all = False break if all_binaries_arch_all: