[Yum-devel] [PATCH] interrupt_callback=None: reraise instead of retrying
Zdenek Pavlas
zpavlas at redhat.com
Wed Jun 13 13:37:56 UTC 2012
> But then we have "KeyboardInterrupt" escaping from urlgrabber, no?
> What does that do?
No, if interrupt_callback=None, we catch KeyboardInterrupt
and raise it only when there are no retries left.
> In the case of getting metalink, doesn't urlgrabber act like there
> is one mirror ... so the default callback will dtrt too?
The default callback is in repo._grab, but _getMetalink() can't
use that (we need URL list to set it up).
More information about the Yum-devel
mailing list