distros_support.py: fix printing "fedora" entry without "versions"

This commit is contained in:
Íñigo Huguet
2024-12-24 14:42:09 +01:00
parent af623592f8
commit 74dba128e9

View File

@@ -133,6 +133,8 @@ for fed_ver_info in distros_info["fedora"]:
tier1_distro = "fedora" tier1_distro = "fedora"
tier1_version = fed_ver_info["version"] tier1_version = fed_ver_info["version"]
tier["fedora"].remove(fed_ver_info["version"]) tier["fedora"].remove(fed_ver_info["version"])
if not tier["fedora"]:
del tier["fedora"]
for distro in ci_distros: for distro in ci_distros:
if tier1_distro: if tier1_distro: