[gnome-continuous-yocto/gnomeostree-3.28-rocko: 4409/8267] meta: remove remaining True option to getVarFlag calls



commit 3c89b61533d33be674c1e480e6cca5982f6b4b10
Author: Ming Liu <peter x liu external atlascopco com>
Date:   Thu Jan 26 14:29:32 2017 +0100

    meta: remove remaining True option to getVarFlag calls
    
    This is a complementary fix to commit 2dea9e49:
    [ meta: remove True option to getVarFlag calls ]
    
    it intended to remove all True option to getVarFlag calls, but there are
    still some remaining.
    
    Search made with the following regex: getVarFlag ?\((.*), True\)
    
    (From OE-Core rev: 5b53b34dcb64dc65ee651cbf78cbbd9105dc4f4c)
    
    Signed-off-by: Ming Liu <peter x liu external atlascopco com>
    Signed-off-by: Ross Burton <ross burton intel com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 meta/lib/oe/data.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/meta/lib/oe/data.py b/meta/lib/oe/data.py
index 3956733..80bba2b 100644
--- a/meta/lib/oe/data.py
+++ b/meta/lib/oe/data.py
@@ -30,7 +30,7 @@ def export2json(d, json_file, expand=True):
             continue
         elif key.startswith("do_"):
             continue
-        elif d.getVarFlag(key, "func", True):
+        elif d.getVarFlag(key, "func"):
             continue
 
         keys2export.append(key)


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