Patchwork csl-versions: fix bb.process.CmdError reference

login
register
mail settings
Submitter Christopher Larson
Date May 16, 2012, 1:28 a.m.
Message ID <1337131704-9285-1-git-send-email-kergoth@gmail.com>
Download mbox | patch
Permalink /patch/27799/
State Accepted
Commit 3c18344e8a6a4a0b7aad1d1322d02ab8accc9db1
Headers show

Comments

Christopher Larson - May 16, 2012, 1:28 a.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]