[Yum-devel] [PATCH] Fix traceback when downloading one MD w/size.

Seth Vidal skvidal at fedoraproject.org
Fri Oct 16 20:16:01 UTC 2009



On Fri, 16 Oct 2009, Ville Skyttä wrote:

> ---
> yum/yumRepo.py |    2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/yum/yumRepo.py b/yum/yumRepo.py
> index 9c34190..b3f502e 100644
> --- a/yum/yumRepo.py
> +++ b/yum/yumRepo.py
> @@ -1350,7 +1350,7 @@ class YumRepository(Repository, config.RepoConf):
>                 downloading_with_size.append((ndata, nmdtype))
>
>         if len(downloading_with_size) == 1:
> -            downloading_no_size.update(downloading_with_size)
> +            downloading_no_size.extend(downloading_with_size)
>             downloading_with_size = []


ACK - saw this earlier today from repoquery --repoid but hadn't had a 
chance to check it out.

thanks,
-sv


More information about the Yum-devel mailing list