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

Tim Lauridsen tim.lauridsen at googlemail.com
Wed May 13 18:29:45 UTC 2009


On 05/13/2009 08:19 PM, Seth Vidal wrote:
>
>
> 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?
yummain.py has an execpt IOError, but i dont know anything else.

Tim


More information about the Yum-devel mailing list