From 2dea9e490a98377010b3d4118d054814c317a735 Mon Sep 17 00:00:00 2001 From: Joshua Lock Date: Wed, 14 Dec 2016 21:13:06 +0000 Subject: 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 Signed-off-by: Ross Burton --- meta/classes/patch.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/classes/patch.bbclass') 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: -- cgit 1.2.3-korg