[Yum-devel] [PATCH 3/6] downloadPkgs: add the 'success' code path to checkfunc

James Antill james at fedoraproject.org
Fri Jan 27 16:57:11 UTC 2012


On Fri, 2012-01-27 at 13:30 +0100, Zdeněk Pavlas wrote:
> ---
>  yum/__init__.py |   42 +++++++++++++++++++++---------------------
>  1 files changed, 21 insertions(+), 21 deletions(-)
> 
> diff --git a/yum/__init__.py b/yum/__init__.py
> index 509eea2..3329828 100644
> --- a/yum/__init__.py
> +++ b/yum/__init__.py
> @@ -2159,7 +2159,7 @@ class YumBase(depsolve.Depsolve):
>              urlgrabber.progress.text_meter_total_size(remote_size)
>          beg_download = time.time()
>          i = 0
> -        local_size = 0
> +        local_size = [0]
 
 This makes me cringe, but meh. Python.
 ACK.



More information about the Yum-devel mailing list