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

68062c
diff -Nurp subscription-manager-1.27.11.orig/src/subscription_manager/repofile.py subscription-manager-1.27.11/src/subscription_manager/repofile.py
68062c
--- subscription-manager-1.27.11.orig/src/subscription_manager/repofile.py	2020-07-28 11:06:10.000000000 -0500
68062c
+++ subscription-manager-1.27.11/src/subscription_manager/repofile.py	2020-08-05 16:48:00.911709258 -0500
68062c
@@ -368,11 +368,7 @@ class RepoFileBase(object):
68062c
         Try to create new repo file.
68062c
         :return: None
68062c
         """
68062c
-        self.create_dir_path()
68062c
-        if self.path_exists(self.path) or not self.manage_repos:
68062c
-            return
68062c
-        with open(self.path, 'w') as f:
68062c
-            f.write(self.REPOFILE_HEADER)
68062c
+        pass
68062c
 
68062c
     def fix_content(self, content):
68062c
         return content