[Yum-devel] [PATCH 2/6] getPackage, _getFile: kwargs pass-through
James Antill
james at fedoraproject.org
Fri Jan 27 16:56:10 UTC 2012
On Fri, 2012-01-27 at 13:30 +0100, Zdeněk Pavlas wrote:
> ---
> yum/yumRepo.py | 8 +++++---
> 1 files changed, 5 insertions(+), 3 deletions(-)
>
> diff --git a/yum/yumRepo.py b/yum/yumRepo.py
> index 9cd20b4..bd43d66 100644
> --- a/yum/yumRepo.py
> +++ b/yum/yumRepo.py
> @@ -758,7 +758,7 @@ class YumRepository(Repository, config.RepoConf):
>
> def _getFile(self, url=None, relative=None, local=None, start=None, end=None,
> copy_local=None, checkfunc=None, text=None, reget='simple',
> - cache=True, size=None):
> + cache=True, size=None, **kwargs):
Why are you doing this instead of adding failfunc and async? I can kind
of see the idea behind doing it for the RHN plugin override, but we'll
always know what is being passed in internally.
More information about the Yum-devel
mailing list