diff options
author | Christopher Larson <chris_larson@mentor.com> | 2012-05-15 20:28:24 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-05-17 21:13:08 +0100 |
commit | caee06405f90d44b3476af645e2b3918578ba6b9 (patch) | |
tree | 10364f49cd854674bd6c27e9d70f5d204de4eeea /meta/conf/distro/include | |
parent | 8da5fa8ed6121163b4c9442394461869cb6205f5 (diff) | |
download | poky-caee06405f90d44b3476af645e2b3918578ba6b9.tar.gz |
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>
Diffstat (limited to 'meta/conf/distro/include')
-rw-r--r-- | meta/conf/distro/include/csl-versions.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/conf/distro/include/csl-versions.inc b/meta/conf/distro/include/csl-versions.inc index ec7a6ba4fd..0790b8ab26 100644 --- a/meta/conf/distro/include/csl-versions.inc +++ b/meta/conf/distro/include/csl-versions.inc | |||
@@ -83,7 +83,7 @@ def csl_get_kernel_version(d): | |||
83 | def csl_get_gdb_version(d): | 83 | def csl_get_gdb_version(d): |
84 | try: | 84 | try: |
85 | stdout, stderr = csl_run(d, 'gdb', '-v') | 85 | stdout, stderr = csl_run(d, 'gdb', '-v') |
86 | except CmdError: | 86 | except bb.process.CmdError: |
87 | return 'UNKNOWN' | 87 | return 'UNKNOWN' |
88 | else: | 88 | else: |
89 | first_line = stdout.splitlines()[0] | 89 | first_line = stdout.splitlines()[0] |