[OE-core] =?y?q?=5BOE-core=5D=20=5BPATCH=E3=80=80V2=5D=20meta=3A=20remove=20remaining=20True=20option=20to=20getVarFlag=20calls?=

liu.ming50 at gmail.com liu.ming50 at gmail.com
Thu Jan 26 13:03:00 UTC 2017


From: Ming Liu <peter.x.liu at external.atlascopco.com>

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\)

Signed-off-by: Ming Liu <peter.x.liu at external.atlascopco.com>
---
 meta/lib/oe/data.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)
-- 
1.9.1




More information about the Openembedded-core mailing list