sanity.bbclass: fix logging of an error

Fixes a crash in exception handler. All bb logging functions need an
string instances as arguments.

(From OE-Core rev: a675b2c89e477af088faee9b3be96eae19a85f0b)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Markus Lehtonen 2016-11-10 16:57:29 +02:00 committed by Richard Purdie
parent 59c8ae1742
commit 62b521722a
1 changed files with 1 additions and 1 deletions

View File

@ -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):