subscription-manager/SOURCES/subscription-manager-remove...

17 lines
767 B
Diff

diff -Nurp subscription-manager-1.29.30/src/subscription_manager/repofile.py subscription-manager-1.29.30.alma/src/subscription_manager/repofile.py
--- 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
@@ -370,11 +370,7 @@ class RepoFileBase(object):
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:
- f.write(self.REPOFILE_HEADER)
+ pass
def fix_content(self, content):
return content