Skip to content
Snippets Groups Projects
Verified Commit 7ac01bed authored by Louis Abel's avatar Louis Abel :tv:
Browse files

fix patch

parent 49f17aec
No related branches found
No related tags found
No related merge requests found
diff -uNrp subscription-manager-1.23.8.orig/src/subscription_manager/repofile.py subscription-manager-1.23.8/src/subscription_manager/repofile.py
--- subscription-manager-1.23.8.orig/src/subscription_manager/repofile.py 2019-03-06 08:15:21.000000000 -0600
+++ subscription-manager-1.23.8/src/subscription_manager/repofile.py 2019-07-10 12:03:11.266030982 -0500
@@ -340,6 +340,7 @@ class RepoFileBase(object):
return self.path_exists(self.path)
def create(self):
diff -Naur subscription-manager-1.27.18-old/src/subscription_manager/repofile.py subscription-manager-1.27.18/src/subscription_manager/repofile.py
--- subscription-manager-1.27.18-old/src/subscription_manager/repofile.py 2021-02-03 08:42:02.000000000 -0700
+++ subscription-manager-1.27.18/src/subscription_manager/repofile.py 2021-04-28 00:00:40.244031713 -0700
@@ -368,11 +368,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)
+ return
if self.path_exists(self.path) or not self.manage_repos:
return
with open(self.path, 'w') as f:
def fix_content(self, content):
return content
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment