[oe-commits] [openembedded-core] 50/50: sanity.bbclass: fix logging of an error
git at git.openembedded.org
git at git.openembedded.org
Tue Nov 15 15:21:22 UTC 2016
rpurdie pushed a commit to branch master
in repository openembedded-core.
commit a675b2c89e477af088faee9b3be96eae19a85f0b
Author: Markus Lehtonen <markus.lehtonen at linux.intel.com>
AuthorDate: Thu Nov 10 16:57:29 2016 +0200
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 at linux.intel.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta/classes/sanity.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index 7682ffb..9db3f1d 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):
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list