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

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