[yum-cvs] yum/yum config.py,1.41.2.1,1.41.2.2
Seth Vidal
skvidal at login.linux.duke.edu
Mon Mar 7 04:49:31 UTC 2005
Update of /home/groups/yum/cvs/yum/yum
In directory login:/tmp/cvs-serv3853/yum
Modified Files:
Tag: yum-2_2_X
config.py
Log Message:
remove dumb catch for zero-enabled repos in config file. Handle this in the
yum doRepoSetup() method rather than in the config class.
Index: config.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/yum/config.py,v
retrieving revision 1.41.2.1
retrieving revision 1.41.2.2
diff -u -r1.41.2.1 -r1.41.2.2
--- config.py 7 Feb 2005 06:39:20 -0000 1.41.2.1
+++ config.py 7 Mar 2005 04:49:29 -0000 1.41.2.2
@@ -333,11 +333,6 @@
except Errors.RepoError, e:
print e
- # if we don't have any enabled repositories then this is going to suck
- # bail out with an exception raised so yummain can catch it
- if len(self.repos.listEnabled()) < 1:
- raise Errors.ConfigError, \
- 'Insufficient repository configuration. No repositories Found/Enabled. Aborting.'
def listConfigOptions(self):
"""return list of options available for global config"""
More information about the Yum-cvs-commits
mailing list