[OE-core] [PATCH] selftest/buildoptions: pexpect not a builtin module
Paul Eggleton
paul.eggleton at linux.intel.com
Fri Sep 18 11:37:50 UTC 2015
On Friday 18 September 2015 12:05:35 Burton, Ross wrote:
> On 17 September 2015 at 21:38, Benjamin Esquivel <
>
> benjamin.esquivel at linux.intel.com> wrote:
> > put the import of pexpect around a try statement so it can tell you
> > why it failed to import when in a system that has the module unreachable
>
> As the failing import is throwing an exception, can't the calling code
> display the exception correctly?
If we're going to trap this I think we should be displaying something like
"Please install pexpect (python-pexpect)".
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
More information about the Openembedded-core
mailing list