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

17 lines
715 B
Diff

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:
- f.write(self.REPOFILE_HEADER)
+ pass
def fix_content(self, content):
return content