From: Markus Lehtonen Date: Thu, 10 Nov 2016 14:57:29 +0000 (+0200) Subject: sanity.bbclass: fix logging of an error X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=62b521722ae72bc87d599719b400dab771154fa7;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index 7682ffbb8c1..9db3f1d5f34 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):