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

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