From 244fc7ec11ab53ec5f99d1b68c3d1370ffdfea0d Mon Sep 17 00:00:00 2001 From: Lubomír Sedlář Date: Mar 01 2016 20:35:28 +0000 Subject: [testphase] Don't run repoclosure for empty variants As a side effect, the non-existing repositories are no longer passed to global repoclosure. Fixes: #196 Signed-off-by: Lubomír Sedlář --- diff --git a/pungi/phases/test.py b/pungi/phases/test.py index 7472227..f0c6fcb 100644 --- a/pungi/phases/test.py +++ b/pungi/phases/test.py @@ -49,6 +49,8 @@ def run_repoclosure(compose): arches = get_valid_arches(arch, is_multilib) all_arches.update(arches) for variant in compose.get_variants(arch=arch): + if variant.is_empty: + continue lookaside = {} if variant.parent: repo_id = "repoclosure-%s.%s" % (variant.parent.uid, arch)