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

2013-04-25 Thread James Antill
On Thu, 2013-04-25 at 11:38 -0400, Zdenek Pavlas wrote: > > 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 cat

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

2013-04-25 Thread Zdenek Pavlas
> 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

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

2013-04-25 Thread James Antill
On Thu, 2013-04-25 at 15:01 +0200, Zdenek Pavlas wrote: > --- > debuginfo-install.py | 6 +- > 1 file changed, 5 insertions(+), 1 deletion(-) What triggers this that isn't caught by the stuff in YumUtilBase? Can we change it so it is caught by something in there? If we need to keep this don

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

2013-04-25 Thread Zdenek Pavlas
--- debuginfo-install.py | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/debuginfo-install.py b/debuginfo-install.py index 5c1f77d..be2ff2d 100755 --- a/debuginfo-install.py +++ b/debuginfo-install.py @@ -53,7 +53,11 @@ class DebugInfoInstall(YumUtilBase):