[yum-cvs] yum/yumRepo.py
Seth Vidal
skvidal at linux.duke.edu
Sun Jul 29 06:08:26 UTC 2007
yum/yumRepo.py | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit eebb40b4a580a6b32f02bfbd681283c5757d1f5c
Author: Seth Vidal <skvidal at fedoraproject.org>
Date: Sun Jul 29 02:00:07 2007 -0400
make sure we set repo.baseurl to be the complete list of all urls - both
mirrorlist and baseurl - otherwise we break various other functions when
we're in mirrorlist-only situations
closes rh bug 249989
diff --git a/yum/yumRepo.py b/yum/yumRepo.py
index 011b16a..c70a431 100644
--- a/yum/yumRepo.py
+++ b/yum/yumRepo.py
@@ -458,6 +458,8 @@ class YumRepository(Repository, config.RepoConf):
self.baseurl = self._replace_and_check_url(self.baseurl)
self.mirrorurls = self._replace_and_check_url(mirrorurls)
self._urls = self.baseurl + self.mirrorurls
+ # store them all back in baseurl for compat purposes
+ self.baseurl = self._urls
self.check()
def _replace_and_check_url(self, url_list):
More information about the Yum-cvs-commits
mailing list