From: Markus Lehtonen Date: Thu, 10 Nov 2016 14:57:29 +0000 (+0200) Subject: sanity.bbclass: fix logging of an error X-Git-Tag: uninative-1.5~1400 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=a675b2c89e477af088faee9b3be96eae19a85f0b;p=openembedded-core.git 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 Signed-off-by: Ross Burton --- 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):