[Yum-devel] Introduce new error for no more mirrors

James Bowes jbowes at redhat.com
Wed Jun 27 17:53:28 UTC 2007

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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20070627/81eec13f/attachment.pgp 

More information about the Yum-devel mailing list