[yum-git] Branch 'yum-3_2_X' - yum/yumRepo.py
James Antill
james at linux.duke.edu
Tue Jul 8 20:19:05 UTC 2008
yum/yumRepo.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 2f1f485c3310bf9c62153c5d96bb3e315e3dd51c
Author: James Antill <james at and.org>
Date: Tue Jul 8 16:19:01 2008 -0400
And fix the second call to readMirrorList, for the new return
diff --git a/yum/yumRepo.py b/yum/yumRepo.py
index 0b3e9fa..4e281d5 100644
--- a/yum/yumRepo.py
+++ b/yum/yumRepo.py
@@ -1296,7 +1296,7 @@ class YumRepository(Repository, config.RepoConf):
elif not cacheok and os.path.exists(self.mirrorlist_file):
# New mirror file failed, so use the old one (better than nothing)
os.utime(self.mirrorlist_file, None)
- return self._readMirrorList(open(self.mirrorlist_file, 'r'))
+ return self._readMirrorList(open(self.mirrorlist_file, 'r'))[0]
return returnlist
More information about the Yum-cvs-commits
mailing list