On Mon, 2011-11-07 at 12:02 +0100, Zdeněk Pavlas wrote: > Don't expect exception, handle errors in 'failfunc' callback. > If argument 'errors' is provided, call it with the error message.
"errors" means "don't raise exceptions, but return some kind of error instead" ... right? 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. Also see next email... _______________________________________________ Yum-devel mailing list Yum-devel@lists.baseurl.org http://lists.baseurl.org/mailman/listinfo/yum-devel