summaryrefslogtreecommitdiffstats
path: root/meta/classes/patch.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 08:30:03 +0000
commit2dea9e490a98377010b3d4118d054814c317a735 (patch)
tree8f147f6c6ebc6c74838a69457d71fe7de5dbb3fd /meta/classes/patch.bbclass
parent0a36bd96e6b29fd99a296efc358ca3e9fb5af735 (diff)
downloadopenembedded-core-2dea9e490a98377010b3d4118d054814c317a735.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\) Signed-off-by: Joshua Lock <joshua.g.lock@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/classes/patch.bbclass')
-rw-r--r--meta/classes/patch.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/patch.bbclass b/meta/classes/patch.bbclass
index 23ba5df48b..d0806bcda2 100644
--- a/meta/classes/patch.bbclass
+++ b/meta/classes/patch.bbclass
@@ -12,7 +12,7 @@ inherit terminal
python () {
if d.getVar('PATCHTOOL') == 'git' and d.getVar('PATCH_COMMIT_FUNCTIONS') == '1':
- tasks = list(filter(lambda k: d.getVarFlag(k, "task", True), d.keys()))
+ tasks = list(filter(lambda k: d.getVarFlag(k, "task"), d.keys()))
extratasks = []
def follow_chain(task, endtask, chain=None):
if not chain: