From 62b521722ae72bc87d599719b400dab771154fa7 Mon Sep 17 00:00:00 2001 From: Markus Lehtonen Date: Thu, 10 Nov 2016 16:57:29 +0200 Subject: 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 --- 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 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): -- cgit v1.2.3-54-g00ecf