On Mon, 2012-12-10 at 16:23 +0100, Zdeněk Pavlas wrote: > --- > yum/__init__.py | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/yum/__init__.py b/yum/__init__.py > index 63053af..1ff6044 100644 > --- a/yum/__init__.py > +++ b/yum/__init__.py > @@ -700,7 +700,7 @@ class YumBase(depsolve.Depsolve): > self.repos.setCache(prerepoconf.cache) > > > - if doSetup: > + if doSetup or not self._repos._setup: > if (hasattr(urlgrabber, 'grabber') and > hasattr(urlgrabber.grabber, 'pycurl')): > # Must do basename checking, on cert. files...
NAK. Doing this means that we can't access yb.repos without the repos. going through automatic setup, which affects any calls to yb.repos.listEnabled() or conduit.getRepos(). Pretty sure this will be worse than not fixing 885159. My guess is that we'll have to move the basename checking into _repos.doSetup(). _______________________________________________ Yum-devel mailing list [email protected] http://lists.baseurl.org/mailman/listinfo/yum-devel
