summaryrefslogtreecommitdiffstats
path: root/meta/classes/utility-tasks.bbclass
diff options
context:
space:
mode:
authorJoshua Lock <joshua.g.lock@intel.com>2016-12-14 21:13:06 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-12-16 10:23:23 +0000
commit3c59b1bf93adb0b9f723bda1d8702c8720733677 (patch)
treed1939643e2d02f0ce2e9ef33e235cd23cd5000d3 /meta/classes/utility-tasks.bbclass
parentc0f2890c01882e9ea14e781c044f3a84f75bd0fc (diff)
downloadpoky-3c59b1bf93adb0b9f723bda1d8702c8720733677.tar.gz
meta: remove True option to getVarFlag calls
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\) (From OE-Core rev: 2dea9e490a98377010b3d4118d054814c317a735) Signed-off-by: Joshua Lock <joshua.g.lock@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/utility-tasks.bbclass')
-rw-r--r--meta/classes/utility-tasks.bbclass6
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() {
4 taskdescs = {} 4 taskdescs = {}
5 maxlen = 0 5 maxlen = 0
6 for e in d.keys(): 6 for e in d.keys():
7 if d.getVarFlag(e, 'task', True): 7 if d.getVarFlag(e, 'task'):
8 maxlen = max(maxlen, len(e)) 8 maxlen = max(maxlen, len(e))
9 if e.endswith('_setscene'): 9 if e.endswith('_setscene'):
10 desc = "%s (setscene version)" % (d.getVarFlag(e[:-9], 'doc', True) or '') 10 desc = "%s (setscene version)" % (d.getVarFlag(e[:-9], 'doc') or '')
11 else: 11 else:
12 desc = d.getVarFlag(e, 'doc', True) or '' 12 desc = d.getVarFlag(e, 'doc') or ''
13 taskdescs[e] = desc 13 taskdescs[e] = desc
14 14
15 tasks = sorted(taskdescs.keys()) 15 tasks = sorted(taskdescs.keys())