From 19f6b74781aa88855fe4daa2b43ca8c8f7a3a3bc Mon Sep 17 00:00:00 2001 From: mhorky Date: Mon, 10 Jun 2024 13:43:06 +0200 Subject: [PATCH] fix: Make repolib's perform() return None instead of 0 Originally fixed through ENT-5549, we need this patch in RHEL 8 as well. (Cherry-picked from bdb6a07b) --- src/subscription_manager/repolib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/subscription_manager/repolib.py b/src/subscription_manager/repolib.py index 103517db4d..4edc1a5e18 100644 --- a/src/subscription_manager/repolib.py +++ b/src/subscription_manager/repolib.py @@ -411,7 +411,7 @@ def perform(self): log.info("Removing %s due to manage_repos configuration." % repo_file.path) RepoActionInvoker.delete_repo_file() - return 0 + return None repo_pairs = [] for repo_class, server_val_repo_class in get_repo_file_classes():