diff options
author | Joshua Lock <joshua.g.lock@intel.com> | 2016-11-23 13:23:44 +0000 |
---|---|---|
committer | Joshua Lock <joshua.g.lock@intel.com> | 2016-12-05 15:36:27 +0000 |
commit | cc01d32cc0843bcae6656a8ec3c694f64f2637d9 (patch) | |
tree | 00c54fe9d16dffd69a58c18c1b3f6e0ef121d616 /meta/classes/utility-tasks.bbclass | |
parent | 65250a5537da220dff662269cb81d086b66c2ace (diff) | |
download | openembedded-core-contrib-joshuagl/getvar.tar.gz |
meta: remove True option to getVarFlag callsjoshuagl/getvar
getVarFlag() now defaults to expanding by default, thus remove the
True option from getVarFlag() calls with a regex search and
replace.
Search made with the following regex:
getVarFlag ?\(( ?[^,()]*, ?[^,()]*), True\)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Diffstat (limited to 'meta/classes/utility-tasks.bbclass')
-rw-r--r-- | meta/classes/utility-tasks.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/utility-tasks.bbclass b/meta/classes/utility-tasks.bbclass index 68e8217135..da69c3a2fb 100644 --- a/meta/classes/utility-tasks.bbclass +++ b/meta/classes/utility-tasks.bbclass @@ -4,12 +4,12 @@ python do_listtasks() { taskdescs = {} maxlen = 0 for e in d.keys(): - if d.getVarFlag(e, 'task', True): + if d.getVarFlag(e, 'task'): maxlen = max(maxlen, len(e)) if e.endswith('_setscene'): - desc = "%s (setscene version)" % (d.getVarFlag(e[:-9], 'doc', True) or '') + desc = "%s (setscene version)" % (d.getVarFlag(e[:-9], 'doc') or '') else: - desc = d.getVarFlag(e, 'doc', True) or '' + desc = d.getVarFlag(e, 'doc') or '' taskdescs[e] = desc tasks = sorted(taskdescs.keys()) |