[yum-commits] Branch 'yum-3_2_X' - yum/yumRepo.py

James Antill james at osuosl.org
Wed Sep 23 18:39:10 UTC 2009


 yum/yumRepo.py |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 000cbb70422c8f45064425bd7b8f440ec849a97b
Author: James Antill <james at and.org>
Date:   Wed Sep 23 10:27:11 2009 -0400

     Don't traceback on baseurl only repos. which have network failures, BZ 525094
    
     We do this by always having a mirrorurls = [] now, which hopefully
    protects future snafu's like this.

diff --git a/yum/yumRepo.py b/yum/yumRepo.py
index d860ef9..bdca2ad 100644
--- a/yum/yumRepo.py
+++ b/yum/yumRepo.py
@@ -233,6 +233,7 @@ class YumRepository(Repository, config.RepoConf):
         Repository.__init__(self, repoid)
 
         self.repofile = None
+        self.mirrorurls = []
         self._urls = []
         self.enablegroups = 0
         self.groupsfilename = 'yumgroups.xml' # something some freaks might


More information about the Yum-commits mailing list