inst-builder: Loop over values instead of keys + hash-lookup

Signed-off-by: Niels Thykier <niels@thykier.net>
ubuntu/rebased
Niels Thykier 6 years ago
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…
Cancel
Save