From a675b2c89e477af088faee9b3be96eae19a85f0b 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. Signed-off-by: Markus Lehtonen Signed-off-by: Ross Burton --- meta/classes/sanity.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/classes/sanity.bbclass') 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 1.2.3-korg