summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2016-11-10 16:57:29 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-11-15 15:19:55 +0000
commit62b521722ae72bc87d599719b400dab771154fa7 (patch)
tree225e2ca3e5aaece25db5c9639929dac44073da6a /meta
parent59c8ae17420564a08490d7978560ef276c2b089a (diff)
downloadpoky-62b521722ae72bc87d599719b400dab771154fa7.tar.gz
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 <markus.lehtonen@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/sanity.bbclass2
1 files changed, 1 insertions, 1 deletions
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):
565 try: 565 try:
566 bb.build.exec_func(func, d, pythonexception=True) 566 bb.build.exec_func(func, d, pythonexception=True)
567 except NotImplementedError as e: 567 except NotImplementedError as e:
568 bb.fatal(e) 568 bb.fatal(str(e))
569 d.setVar("BB_INVALIDCONF", True) 569 d.setVar("BB_INVALIDCONF", True)
570 570
571def sanity_handle_abichanges(status, d): 571def sanity_handle_abichanges(status, d):