[Yum-devel] [PATCH 1/2] Add argument 'errors' to _getFile and getPackage.
James Antill
james at fedoraproject.org
Mon Nov 21 15:52:32 UTC 2011
On Mon, 2011-11-21 at 05:11 -0500, Zdenek Pavlas wrote:
> > We already do that in a bunch of functions in yumRepo.py Eg.
> > checksum_can_fail and grab_can_fail ... it's worth following the same
> > pattern.
>
> Yes, errors was originally a list to append errors to, later I needed
> a callback so changed semantics but kept the name so now it's off.
> 'grab_can_fail' is bool but I need a callback... on_error/on_failure ?
Ahh, I missed the line where it was called ... I guess errorfunc then?
More information about the Yum-devel
mailing list