[oe-commits] Holger Hans Peter Freyther : base.bbclass: Better error message in case the Config Parser fails

git version control git at git.openembedded.org
Tue Nov 3 13:49:03 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: c724ad44d6adfda201f33c15378cab8d9e7ee902
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=c724ad44d6adfda201f33c15378cab8d9e7ee902

Author: Holger Hans Peter Freyther <zecke at selfish.org>
Date:   Tue Nov  3 14:45:02 2009 +0100

base.bbclass: Better error message in case the Config Parser fails

http://patchwork.openembedded.org/patch/1088/
Tested-by: Ed Nelson <enelson1000 at comcast.net>

---

 classes/base.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/classes/base.bbclass b/classes/base.bbclass
index d29ba4b..89ee917 100644
--- a/classes/base.bbclass
+++ b/classes/base.bbclass
@@ -661,7 +661,7 @@ python base_do_fetch() {
 		bb.note("No conf/checksums.ini found, not checking checksums")
 		return
 	except:
-		bb.note("Creating the CheckSum parser failed")
+		bb.note("Creating the CheckSum parser failed: %s:%s" % (sys.exc_info()[0], sys.exc_info()[1]))
 		return
 
 	pv = bb.data.getVar('PV', d, True)





More information about the Openembedded-commits mailing list