On Wed, 2011-10-26 at 14:36 +0200, Zdeněk Pavlas wrote: > repo.getGroups() returns None on failure, > instead of raising an exception. > --- > langpacks.py | 5 ++--- > 1 files changed, 2 insertions(+), 3 deletions(-) > > diff --git a/langpacks.py b/langpacks.py > index f39257b..7e5c82d 100644 > --- a/langpacks.py > +++ b/langpacks.py > @@ -68,9 +68,8 @@ def postreposetup_hook(conduit): > global conditional_pkgs > > for repo in conduit.getRepos().listEnabled(): > - try: > - infile = repo.getGroups() > - except yum.Errors.YumBaseError: > + infile = repo.getGroups() > + if not infile: > continue > > infile = yum.misc.decompress(infile)
This is a patch to langpacks... We don't maintain that in the yum tree. Who are you sending this to? -sv _______________________________________________ Yum-devel mailing list Yum-devel@lists.baseurl.org http://lists.baseurl.org/mailman/listinfo/yum-devel