[Yum-devel] Re: [yum-cvs] 2 commits - yum/__init__.py yum/rpmtrans.py
Tim Lauridsen
tla at rasmil.dk
Wed Sep 12 15:10:45 UTC 2007
Jeremy Katz wrote:
> yum/__init__.py | 2 +-
> yum/rpmtrans.py | 5 ++++-
> 2 files changed, 5 insertions(+), 2 deletions(-)
>
> New commits:
> commit ac87ad138493036b6dbfec4cbfabf9daa3313f81
> Author: Jeremy Katz <katzj at redhat.com>
> Date: Wed Sep 12 10:41:20 2007 -0400
>
> event() only takes one argument
>
> diff --git a/yum/__init__.py b/yum/__init__.py
> index 39121e2..de4f1ca 100644
> --- a/yum/__init__.py
> +++ b/yum/__init__.py
> @@ -2222,7 +2222,7 @@ class YumBase(depsolve.Depsolve):
> if len(dlpkgs) == 0:
> return None
> # make callback with packages to download
> - callback.event(callbacks.PT_DOWNLOAD_PKGS,dlpkgs)
> + callback.event(callbacks.PT_DOWNLOAD_PKGS)
> try:
> probs = self.downloadPkgs(dlpkgs)
>
my fault, event should take two argument (the last one is optional) ,
but i forgot to add to add it to the base classes.
I will fix it.
Tim
More information about the Yum-devel
mailing list