csl-versions: fix bb.process.CmdError reference

(From OE-Core rev: 3c18344e8a6a4a0b7aad1d1322d02ab8accc9db1)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Christopher Larson 2012-05-15 20:28:24 -05:00 committed by Richard Purdie
parent 8da5fa8ed6
commit caee06405f
1 changed files with 1 additions and 1 deletions

View 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]