[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ář <lsedlar@redhat.com>
This commit is contained in:
parent
4a4ef23e3c
commit
44c4ef5c41
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user