[yum-git] Branch 'yum-3_2_X' - shell.py
James Antill
james at linux.duke.edu
Thu Aug 21 14:22:55 UTC 2008
shell.py | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit b566b30169f1db62527133b5d57d010322218084
Author: James Antill <james at and.org>
Date: Thu Aug 21 10:21:52 2008 -0400
Setup the normal repos. if we are enabling a new one. Fixes bug 459654
diff --git a/shell.py b/shell.py
index cb134d2..4f5bf8f 100644
--- a/shell.py
+++ b/shell.py
@@ -272,6 +272,9 @@ class YumShell(cmd.Cmd):
repos = self._shlex_split(args)
for repo in repos:
try:
+ # Setup the sacks/repos, we need this because we are about
+ # to setup the enabled one. And having some setup is bad.
+ self.base.pkgSack
changed = self.base.repos.enableRepo(repo)
except Errors.ConfigError, e:
self.logger.critical(e)
More information about the Yum-cvs-commits
mailing list