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

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