Skip to contentSkip to conversation

meta: remove remaining True option to getVarFlag calls

PATCH New [email protected] 1 participant 2 messages Jan 26, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 meta: remove remaining True option to getVarFlag calls

From: Ming Liu <[email protected]>

This is the V2 set of this patch, please ignore the origninal one, I had some charset issues on my computer, so the patch was messed up, sorry for the disturbing.

Ming Liu (1):
meta: remove remaining True option to getVarFlag calls

 meta/lib/oe/data.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 meta: remove remaining True option to getVarFlag calls

From: Ming Liu <[email protected]>

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

---
 meta/lib/oe/data.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/lib/oe/data.py +1 -1
index 3956733..80bba2b 100644
@@ -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)
Signature · 1 line
1.9.1