[Yum-devel] [Patch] Catch sqlite exceptions and convert them to YumBaseError

seth vidal skvidal at fedoraproject.org
Wed Dec 5 13:41:29 UTC 2007


On Wed, 2007-12-05 at 11:03 +0100, Florian Festi wrote:
> Possible solution for https://bugzilla.redhat.com/show_bug.cgi?id=403371
> 
> Comments?
> 

decorators fill me with bile. I realize it causes fewer lines of code,
it just feels wrong to me.

Also - swap the YumBaseError for either RepoError or some new error so
we have better specificity but can catch it with YumBaseError
generically.

-sv





More information about the Yum-devel mailing list