diff --git a/SOURCES/subscription-manager-remove-redhat.repo.patch b/SOURCES/subscription-manager-remove-redhat.repo.patch index 0001d86..0347220 100644 --- a/SOURCES/subscription-manager-remove-redhat.repo.patch +++ b/SOURCES/subscription-manager-remove-redhat.repo.patch @@ -1,14 +1,14 @@ -diff -Nurp subscription-manager-1.27.11.orig/src/subscription_manager/repofile.py subscription-manager-1.27.11/src/subscription_manager/repofile.py ---- subscription-manager-1.27.11.orig/src/subscription_manager/repofile.py 2020-07-28 11:06:10.000000000 -0500 -+++ subscription-manager-1.27.11/src/subscription_manager/repofile.py 2020-08-05 16:48:00.911709258 -0500 -@@ -368,11 +368,7 @@ class RepoFileBase(object): +diff -aruN subscription-manager-1.29.30.1/src/subscription_manager/repofile.py subscription-manager-1.29.30.1.alma/src/subscription_manager/repofile.py +--- subscription-manager-1.29.30.1/src/subscription_manager/repofile.py 2022-12-16 12:34:49 ++++ subscription-manager-1.29.30.1.alma/src/subscription_manager/repofile.py 2023-01-24 11:33:45 +@@ -370,11 +370,7 @@ Try to create new repo file. :return: None """ - self.create_dir_path() - if self.path_exists(self.path) or not self.manage_repos: - return -- with open(self.path, 'w') as f: +- with open(self.path, "w") as f: - f.write(self.REPOFILE_HEADER) + pass