[Yum-devel] [PATCH 1/2] Add argument 'errors' to _getFile and getPackage.

Zdenek Pavlas zpavlas at redhat.com
Mon Nov 21 10:11:45 UTC 2011


>  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 ?


More information about the Yum-devel mailing list