Skip to content

Commit

Permalink
fix: Make repolib's perform() return None instead of 0
Browse files Browse the repository at this point in the history
Originally fixed through ENT-5549, we need this patch in RHEL 8 as well.

(Cherry-picked from bdb6a07)
  • Loading branch information
m-horky authored and ptoscano committed Oct 2, 2024
1 parent 499358a commit 19f6b74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/subscription_manager/repolib.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down

0 comments on commit 19f6b74

Please sign in to comment.