]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
csl-versions: fix bb.process.CmdError reference
authorChristopher Larson <chris_larson@mentor.com>
Wed, 16 May 2012 01:28:24 +0000 (20:28 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 17 May 2012 20:13:08 +0000 (21:13 +0100)
(From OE-Core rev: 3c18344e8a6a4a0b7aad1d1322d02ab8accc9db1)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/distro/include/csl-versions.inc

index ec7a6ba4fda2b62c2115f66204ce7c3218359c3c..0790b8ab26c1fa5e7f55c923aa94a05c703622d8 100644 (file)
@@ -83,7 +83,7 @@ def csl_get_kernel_version(d):
 def csl_get_gdb_version(d):
        try:
                stdout, stderr = csl_run(d, 'gdb', '-v')
-       except CmdError:
+       except bb.process.CmdError:
                return 'UNKNOWN'
        else:
                first_line = stdout.splitlines()[0]