[Yum-devel] [PATCH] debuginfo-install: handle YumBaseError

Zdenek Pavlas zpavlas at redhat.com
Thu Apr 25 15:38:32 UTC 2013


>  What triggers this that isn't caught by the stuff in YumUtilBase? Can
> we change it so it is caught by something in there?

--enablerepo foo calls getRepo(foo), and this raises Errors.RepoError
when there's no such repo.  Yum catches this in yummain.py

>  If we need to keep this don't we need to use exception2msg() like
> everything else?

Yep.. but it's debuginfo-install.. a quick smallish script..
lots of prints instead of logging, no intl support etc.


More information about the Yum-devel mailing list