[gnome-continuous-yocto/gnomeostree-3.28-rocko: 3344/8267] sanity.bbclass: fix logging of an error



commit 62b521722ae72bc87d599719b400dab771154fa7
Author: Markus Lehtonen <markus lehtonen linux intel com>
Date:   Thu Nov 10 16:57:29 2016 +0200

    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>

 meta/classes/sanity.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index 7682ffb..9db3f1d 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):


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]