summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/cooker.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r--bitbake/lib/bb/cooker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index 9b565fc37d..b2187d7d5f 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -656,7 +656,7 @@ class BBCooker:
656 # emit the metadata which isnt valid shell 656 # emit the metadata which isnt valid shell
657 data.expandKeys(envdata) 657 data.expandKeys(envdata)
658 for e in envdata.keys(): 658 for e in envdata.keys():
659 if data.getVarFlag( e, 'python', envdata ): 659 if envdata.getVarFlag(e, 'func', False) and envdata.getVarFlag(e, 'python', False):
660 logger.plain("\npython %s () {\n%s}\n", e, envdata.getVar(e, False)) 660 logger.plain("\npython %s () {\n%s}\n", e, envdata.getVar(e, False))
661 661
662 662