On Wed, 2012-06-13 at 05:39 -0400, Miroslav Rezanina wrote:
> ----- Original Message -----
> > From: "Nishanth Aravamudan" <n...@linux.vnet.ibm.com>
> > To: l...@redhat.com
> > Cc: autotest@test.kernel.org
> > Sent: Friday, June 8, 2012 5:55:07 PM
> > Subject: [Autotest] [PATCH] client/boottool: print exception information 
> > when grubby fails to install
> > 
> > diff --git a/client/shared/boottool.py b/client/shared/boottool.py
> > index 6a049e7..c852ee5 100644
> > --- a/client/shared/boottool.py
> > +++ b/client/shared/boottool.py
> > @@ -49,8 +49,8 @@ class boottool(Grubby):
> >                  install_grubby_if_necessary()
> >                  Grubby.__init__(self, self.path)
> >                  self.instantiated = True
> > -            except Exception:
> > -                raise error.JobError("Unable to instantiate
> > boottool")
> > +            except Exception as e:
> > +                raise error.JobError("Unable to instantiate
> > boottool: %s" % e)

Whoops, OK, just fixed it in master.

Thanks Miroslav!

_______________________________________________
Autotest mailing list
Autotest@test.kernel.org
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to