Thanks. Applied.
> _______________________________________________
On 26 June 2013 10:50, Martin Jansa <martin.jansa@gmail.com> wrote:
> * fails with:
> ERROR: Execution of event handler 'external_linaro_toolchain_version_handler' failed
> Traceback (most recent call last):
> File "external_linaro_toolchain_version_handler(e)", line 12, in external_linaro_toolchain_version_handler(e=<bb.event.ConfigParsed object at 0x7759a50>)
> File "external-linaro-toolchain-versions.inc", line 4, in elt_get_gdb_version(d=<bb.data_smart.DataSmart object at 0x24b58d0>)
> NameError: global name 'CmdError' is not defined
>
> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
> ---
> .../conf/distro/include/external-linaro-toolchain-versions.inc | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta-linaro-toolchain/conf/distro/include/external-linaro-toolchain-versions.inc b/meta-linaro-toolchain/conf/distro/include/external-linaro-toolchain-versions.inc
> index 92862af..0254895 100644
> --- a/meta-linaro-toolchain/conf/distro/include/external-linaro-toolchain-versions.inc
> +++ b/meta-linaro-toolchain/conf/distro/include/external-linaro-toolchain-versions.inc
> @@ -86,7 +86,7 @@ def elt_get_kernel_version(d):
> def elt_get_gdb_version(d):
> try:
> stdout, stderr = elt_run(d, 'gdb', '-v')
> - except CmdError:
> + except bb.process.CmdError:
> return 'UNKNOWN'
> else:
> first_line = stdout.splitlines()[0]
> --
> 1.8.2.1
>
>
> linaro-dev mailing list
> linaro-dev@lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/linaro-dev
--
Fathi Boudra
Builds and Baselines Manager | Release Manager
Linaro.org | Open source software for ARM SoCs