[oe-commits] [bitbake] branch master-next updated: classes/base.bbclass: Fix missing getVarFlag parameter
git at git.openembedded.org
git at git.openembedded.org
Tue May 24 14:55:58 UTC 2016
rpurdie pushed a commit to branch master-next
in repository bitbake.
The following commit(s) were added to refs/heads/master-next by this push:
new 86cdd38 classes/base.bbclass: Fix missing getVarFlag parameter
86cdd38 is described below
commit 86cdd38cab9bb4232c392235748f6da6d9012a9d
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Tue May 24 15:54:38 2016 +0100
classes/base.bbclass: Fix missing getVarFlag parameter
[YOCTO #9603]
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
classes/base.bbclass | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/classes/base.bbclass b/classes/base.bbclass
index 0972d69..71d9ec1 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)
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list