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

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