Patchwork [CONSOLIDATED,PULL,02/12] csl-versions: fix bb.process.CmdError reference

login
register
mail settings
Submitter Saul Wold
Date May 17, 2012, 4:51 p.m.
Message ID <3c18344e8a6a4a0b7aad1d1322d02ab8accc9db1.1337273095.git.sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/27901/
State New
Headers show

Comments

Saul Wold - May 17, 2012, 4:51 p.m.
From: Christopher Larson <chris_larson@mentor.com>

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
---
 meta/conf/distro/include/csl-versions.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/meta/conf/distro/include/csl-versions.inc b/meta/conf/distro/include/csl-versions.inc
index ec7a6ba..0790b8a 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):
 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]