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

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