[Yum-devel] [PATCH 2/2] Touch repoXML later, to handle RepoError properly. Related: rhbz#769864

James Antill james at fedoraproject.org
Tue Apr 17 14:22:40 UTC 2012


On Tue, 2012-04-17 at 13:45 +0200, Zdeněk Pavlas wrote:
> The removed loop does not handle skip-if-unavailable option,
> while repos.populateSack() does.
> 
> Forward port from RHEL6.3

 ACK.

> ---
>  yumcommands.py |    2 --
>  1 files changed, 0 insertions(+), 2 deletions(-)
> 
> diff --git a/yumcommands.py b/yumcommands.py
> index 9c181ec..477d16a 100644
> --- a/yumcommands.py
> +++ b/yumcommands.py
> @@ -1098,8 +1098,6 @@ class MakeCacheCommand(YumCommand):
>                  repo.mdpolicy = "group:all"
>              base.doRepoSetup(dosack=0)
>              base.repos.doSetup()
> -            for repo in base.repos.listEnabled():
> -                repo.repoXML
>              # These convert the downloaded data into usable data,
>              # we can't remove them until *LoadRepo() can do:




More information about the Yum-devel mailing list