]> code.ossystems Code Review - openembedded-core.git/commitdiff
meta: remove remaining True option to getVarFlag calls
authorMing Liu <peter.x.liu@external.atlascopco.com>
Thu, 26 Jan 2017 13:29:32 +0000 (14:29 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 31 Jan 2017 14:40:18 +0000 (14:40 +0000)
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@external.atlascopco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/lib/oe/data.py

index 39567333f130d341f443f2c5100fca9ea3afac4e..80bba2b9d2451954dd11999593e152fbcd2566ef 100644 (file)
@@ -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)