Skip to contentSkip to conversation

sanity.bbclass: fix logging of an error

PATCH New Markus Lehtonen 1 participant 1 message Nov 10, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sanity.bbclass: fix logging of an error

Fixes a crash in exception handler. All bb logging functions need an string instances as arguments.

---
 meta/classes/sanity.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/sanity.bbclass +1 -1
index 7682ffb..9db3f1d 100644
@@ -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):
Signature · 1 line
2.6.6