> Not 100% sure we can fix this without major complaints of API > breakage ... also implies that skip_if_unavailable will be unhappy if > any URLGrabError()'s pop up ... can that happen (Eg. no more > mirrors?)
I'm almost sure it can't.. _getMetalink(), _getFileRepoXML() and _retrieveMD() clearly convert every URLGrabError to RepoError. URLGrabError is (or it should be, IMO) used only in checkfunc callbacks, and never passed up in the call stack. > Is there a problem with catching URLGrabError in the > skip_if_unavailable code paths? Should work, too.. but I'd prefer using RepoError. _______________________________________________ Yum-devel mailing list [email protected] http://lists.baseurl.org/mailman/listinfo/yum-devel
