diff --git a/src/subscription_manager/repofile.py b/src/subscription_manager/repofile.py index 85f75448d8..854d9c1d53 100644 --- a/src/subscription_manager/repofile.py +++ b/src/subscription_manager/repofile.py @@ -472,8 +472,8 @@ def fix_content(self, content): query = parse_qs(parsed_url.query) if "rel" in query and "comp" in query: - suites = query["rel"][0].replace(",", " ") - components = query["comp"][0].replace(",", " ") + suites = " ".join(query["rel"][0].split(",")) + components = " ".join(query["comp"][0].split(",")) else: suites = "default" components = "all"