[yum-cvs] yum/repos.py

Seth Vidal skvidal at linux.duke.edu
Fri Aug 3 03:16:24 UTC 2007


 yum/repos.py |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 4d832cb25f710435d8f75e9c32630069e7cee076
Author: Seth Vidal <skvidal at fedoraproject.org>
Date:   Thu Aug 2 23:15:56 2007 -0400

    make sure _something_ in the RepoStorage object calls _getConfig() before we try to setup the repos
    otherwise all sorts of silly things happen

diff --git a/yum/repos.py b/yum/repos.py
index 4af1087..575bbcf 100644
--- a/yum/repos.py
+++ b/yum/repos.py
@@ -41,6 +41,8 @@ class RepoStorage:
         self.ayum = ayum
 
     def doSetup(self, thisrepo = None):
+        
+        self.ayum._getConfig() # touch the config - first thing we do
         self.ayum.plugins.run('prereposetup')
         
         if thisrepo is None:



More information about the Yum-cvs-commits mailing list