From 496d59b1fb5f21d5d0d333d07e7a2c12856ca544 Mon Sep 17 00:00:00 2001 From: mhecko Date: Fri, 7 Jun 2024 10:42:01 +0200 Subject: [PATCH] fix rhui package collection --- repos/system_upgrade/common/libraries/rhui.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/repos/system_upgrade/common/libraries/rhui.py b/repos/system_upgrade/common/libraries/rhui.py index 2dfb209c4a..464092c83b 100644 --- a/repos/system_upgrade/common/libraries/rhui.py +++ b/repos/system_upgrade/common/libraries/rhui.py @@ -541,7 +541,8 @@ def get_all_known_rhui_pkgs_for_current_upg(): known_pkgs = set() for setup_family in RHUI_SETUPS.values(): for setup in setup_family: - if setup.os_version not in upg_major_versions: + setup_major = str(setup.os_version[0]) + if setup_major not in upg_major_versions: continue known_pkgs.update(setup.clients) known_pkgs.add(setup.leapp_pkg)