diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2016-11-10 16:57:29 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-11-15 15:18:50 +0000 |
commit | a675b2c89e477af088faee9b3be96eae19a85f0b (patch) | |
tree | 12d3b5a14606b206a4f55531c364dda12d8f7429 /meta | |
parent | 71c6790689e2cbd3c4e882335b3b03e635ad46ed (diff) | |
download | openembedded-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>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/sanity.bbclass | 2 |
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): |