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
master
Tim Andersson 5 months ago
parent a0dece5b76
commit fa37106b41
No known key found for this signature in database
GPG Key ID: 50AF67504D9E703D

@ -706,7 +706,7 @@ class AutopkgtestPolicy(BasePolicy):
if arch == "i386": if arch == "i386":
all_binaries_arch_all = True all_binaries_arch_all = True
for package_name in binaries_info.keys(): 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 all_binaries_arch_all = False
break break
if all_binaries_arch_all: if all_binaries_arch_all:

Loading…
Cancel
Save