[Yum-devel] Introduce new error for no more mirrors
Tim Lauridsen
tla at rasmil.dk
Thu Jun 28 07:16:07 UTC 2007
James Bowes wrote:
> On Wed, Jun 27, 2007 at 01:35:18PM -0400, Jeremy Katz wrote:
>
>> When downloading, it can be useful to distinguish between an error due
>> to no more mirrors being available and other errors. Attached patch
>> adds a new error type so that if you care, you can catch it instead and
>> then uses it in yumRepo._getFile().
>>
>> Sound reasonable? Better ideas?
>>
>
> Looks good. More specific exceptions classes are nice to have.
>
> -James
>
+1
Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.baseurl.org/pipermail/yum-devel/attachments/20070628/30c2bb49/attachment.htm
More information about the Yum-devel
mailing list