[Yum-devel] [PATCH] Catch error opening repo files

Jeremy Katz katzj at redhat.com
Wed May 13 18:34:57 UTC 2009


On Wednesday, May 13 2009, Seth Vidal said:
> On Wed, 13 May 2009, Jeremy Katz wrote:
>> Rather than requiring higher level callers to catch the error,
>> we should catch the error at the low-level when opening the
>> repo file and turn it into a RepoMDError.  Related to
>> rh bz#500526
>
> yah - that looks kosher - though it might technically be an API-break b/c 
> the exception changes.
>
>
> Anyone know of any callers of 3.2.X expecting an IOError, there?

They'd also have to expect and catch a RepoMDError as you can get that
later in the constructor.  

Jeremy


More information about the Yum-devel mailing list