From 44c4ef5c4197231a0b740f253fb538dc1b9c5802 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubom=C3=ADr=20Sedl=C3=A1=C5=99?= Date: Mon, 29 Feb 2016 12:38:54 +0100 Subject: [PATCH] [testphase] Don't run repoclosure for empty variants MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As a side effect, the non-existing repositories are no longer passed to global repoclosure. Fixes: #196 Signed-off-by: Lubomír Sedlář --- pungi/phases/test.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pungi/phases/test.py b/pungi/phases/test.py index 7472227a..f0c6fcb7 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)