summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2016-11-10 16:57:29 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-11-15 15:18:50 +0000
commita675b2c89e477af088faee9b3be96eae19a85f0b (patch)
tree12d3b5a14606b206a4f55531c364dda12d8f7429
parent71c6790689e2cbd3c4e882335b3b03e635ad46ed (diff)
downloadopenembedded-core-a675b2c89e477af088faee9b3be96eae19a85f0b.tar.gz
openembedded-core-a675b2c89e477af088faee9b3be96eae19a85f0b.tar.bz2
openembedded-core-a675b2c89e477af088faee9b3be96eae19a85f0b.zip
sanity.bbclass: fix logging of an error
Fixes a crash in exception handler. All bb logging functions need an string instances as arguments. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/classes/sanity.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index 7682ffbb8c..9db3f1d5f3 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -565,7 +565,7 @@ def sanity_check_conffiles(d):
try:
bb.build.exec_func(func, d, pythonexception=True)
except NotImplementedError as e:
- bb.fatal(e)
+ bb.fatal(str(e))
d.setVar("BB_INVALIDCONF", True)
def sanity_handle_abichanges(status, d):