diff -uNrp subscription-manager-1.23.8.orig/src/subscription_manager/repofile.py subscription-manager-1.23.8/src/subscription_manager/repofile.py --- subscription-manager-1.23.8.orig/src/subscription_manager/repofile.py 2019-03-06 08:15:21.000000000 -0600 +++ subscription-manager-1.23.8/src/subscription_manager/repofile.py 2019-07-10 12:03:11.266030982 -0500 @@ -340,6 +340,7 @@ class RepoFileBase(object): return self.path_exists(self.path) def create(self): + return if self.path_exists(self.path) or not self.manage_repos: return with open(self.path, 'w') as f: