* [PATCH] meta: remove remaining True option to getVarFlag calls
@ 2017-01-26 12:06 liu.ming50
0 siblings, 0 replies; 3+ messages in thread
From: liu.ming50 @ 2017-01-26 12:06 UTC (permalink / raw)
To: openembedded-core; +Cc: yue.tao, Ming Liu
From: Ming Liu <liu.ming50@gmail.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 <liu.ming50@gmail.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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH] meta: remove remaining True option to getVarFlag calls
@ 2017-01-26 13:29 liu.ming50
2017-01-26 13:29 ` liu.ming50
0 siblings, 1 reply; 3+ messages in thread
From: liu.ming50 @ 2017-01-26 13:29 UTC (permalink / raw)
To: openembedded-core; +Cc: Ming Liu
From: Ming Liu <liu.ming50@gmail.com>
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(-)
--
1.9.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] meta: remove remaining True option to getVarFlag calls
2017-01-26 13:29 [PATCH] meta: remove remaining True option to getVarFlag calls liu.ming50
@ 2017-01-26 13:29 ` liu.ming50
0 siblings, 0 replies; 3+ messages in thread
From: liu.ming50 @ 2017-01-26 13:29 UTC (permalink / raw)
To: openembedded-core; +Cc: Ming Liu
From: Ming Liu <peter.x.liu@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@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
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-01-26 13:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-26 13:29 [PATCH] meta: remove remaining True option to getVarFlag calls liu.ming50
2017-01-26 13:29 ` liu.ming50
-- strict thread matches above, loose matches on Subject: below --
2017-01-26 12:06 liu.ming50
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox