summaryrefslogtreecommitdiff
path: root/bitbake/lib/bb/cooker.py
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2008-11-06 00:33:24 +0000
committerJoshua Lock <josh@linux.intel.com>2008-11-06 00:33:24 +0000
commitfa7a4cd807bf819c11d79ac0b22d8dc7246953e2 (patch)
tree20a821e8d16cb4326aa808c304240234cfeeaaa6 /bitbake/lib/bb/cooker.py
parent3ae3b2ba8a20c44b20ff322690872ff3f2893bee (diff)
parentb6b37f065c5715c04442184ca20c86258f1c1714 (diff)
downloadopenembedded-core-fa7a4cd807bf819c11d79ac0b22d8dc7246953e2.tar.gz
openembedded-core-fa7a4cd807bf819c11d79ac0b22d8dc7246953e2.tar.bz2
openembedded-core-fa7a4cd807bf819c11d79ac0b22d8dc7246953e2.tar.xz
openembedded-core-fa7a4cd807bf819c11d79ac0b22d8dc7246953e2.zip
Merge branch 'master' of ssh://git@git.moblin.org/poky
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r--bitbake/lib/bb/cooker.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index c5d640da8..6a6d254d7 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -404,8 +404,8 @@ class BBCooker:
bb.event.fire(bb.event.ConfigParsed(self.configuration.data))
- except IOError:
- bb.msg.fatal(bb.msg.domain.Parsing, "Unable to open %s" % afile )
+ except IOError, e:
+ bb.msg.fatal(bb.msg.domain.Parsing, "IO Error: %s" % str(e) )
except bb.parse.ParseError, details:
bb.msg.fatal(bb.msg.domain.Parsing, "Unable to parse %s (%s)" % (afile, details) )