subscription-manager/SOURCES/subscription-manager-remove-redhat.repo.patch

17 lines
767 B
Diff
Raw Normal View History

2022-10-24 13:29:12 +00:00
diff -Nurp subscription-manager-1.29.30/src/subscription_manager/repofile.py subscription-manager-1.29.30.alma/src/subscription_manager/repofile.py
2022-10-24 08:48:22 +00:00
--- subscription-manager-1.29.30/src/subscription_manager/repofile.py 2022-08-09 23:10:15.000000000 +0300
+++ subscription-manager-1.29.30.alma/src/subscription_manager/repofile.py 2022-10-24 11:47:04.000000000 +0300
2022-10-24 13:29:12 +00:00
@@ -370,11 +370,7 @@ class RepoFileBase(object):
2022-01-19 10:23:12 +00:00
Try to create new repo file.
:return: None
"""
- self.create_dir_path()
- if self.path_exists(self.path) or not self.manage_repos:
- return
2022-10-24 08:48:22 +00:00
- with open(self.path, "w") as f:
2022-01-19 10:23:12 +00:00
- f.write(self.REPOFILE_HEADER)
+ pass
def fix_content(self, content):
return content