aboutsummaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-24 15:54:38 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-24 15:55:01 +0100
commitd830dccf948d188492cecfcf2ff053f31740dc21 (patch)
tree61f3aab0949e2a75b18b090132415232e3d20bc0 /classes
parent138329c58e92744c56aae3ab70ceeef09613250c (diff)
downloadbitbake-d830dccf948d188492cecfcf2ff053f31740dc21.tar.gz
bitbake-d830dccf948d188492cecfcf2ff053f31740dc21.tar.bz2
bitbake-d830dccf948d188492cecfcf2ff053f31740dc21.zip
classes/base.bbclass: Fix missing getVarFlag parameter
[YOCTO #9603] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'classes')
-rw-r--r--classes/base.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/base.bbclass b/classes/base.bbclass
index 0972d694..71d9ec16 100644
--- a/classes/base.bbclass
+++ b/classes/base.bbclass
@@ -43,7 +43,7 @@ python do_showdata() {
bb.data.emit_env(sys.__stdout__, d, True)
# emit the metadata which isnt valid shell
for e in bb.data.keys(d):
- if d.getVarFlag(e, 'python'):
+ if d.getVarFlag(e, 'python', False):
bb.plain("\npython %s () {\n%s}" % (e, d.getVar(e, True)))
}
@@ -52,7 +52,7 @@ do_listtasks[nostamp] = "1"
python do_listtasks() {
import sys
for e in bb.data.keys(d):
- if d.getVarFlag(e, 'task'):
+ if d.getVarFlag(e, 'task', False):
bb.plain("%s" % e)
}