[Yum-devel] parser/IncludingConfigParser exceptions

seth vidal skvidal at linux.duke.edu
Fri Feb 10 06:46:27 UTC 2006


On Fri, 2006-02-10 at 01:42 -0500, seth vidal wrote:
> Hey,
>  looking at this bug:
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=179512
> 
> is there a preferred exception to raise when the file doesn't exist? I
> was going to either add the raise into IncludingConfigParser.read() and
> catch it in readMainConfig to raise another yum error or do the
> file-existence check in readMainConfig by itself.
> 
> I didn't know if y'all had any preference on which way to fix that.
> 

nevermind - I did the latter - it makes more sense and keeps a bunch of
garbage out of parser.IncludingConfigParser


thanks
-sv





More information about the Yum-devel mailing list