mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-04-06 15:51:22 +00:00
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
This commit is contained in:
parent
a0dece5b76
commit
fa37106b41
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user