mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-04-05 15:21:27 +00:00
inst-builder: Loop over values instead of keys + hash-lookup
Signed-off-by: Niels Thykier <niels@thykier.net>
This commit is contained in:
parent
0446ead9e8
commit
02001d4d4f
@ -28,8 +28,7 @@ def build_installability_tester(suite_info, archs):
|
||||
|
||||
for (suite, arch) in product(suite_info, archs):
|
||||
packages_s_a = suite.binaries[arch][0]
|
||||
for pkgname in packages_s_a:
|
||||
pkgdata = packages_s_a[pkgname]
|
||||
for pkgdata in packages_s_a.values():
|
||||
pkg_id = pkgdata.pkg_id
|
||||
if not builder.add_binary(pkg_id,
|
||||
essential=pkgdata.is_essential,
|
||||
|
Loading…
x
Reference in New Issue
Block a user