summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/cooker.py2
-rw-r--r--bitbake/lib/bb/data.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index 662a7ac071..e3f5317f7c 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -648,7 +648,7 @@ class BBCooker:
648 648
649 # emit the metadata which isnt valid shell 649 # emit the metadata which isnt valid shell
650 data.expandKeys(envdata) 650 data.expandKeys(envdata)
651 for e in envdata.keys(): 651 for e in sorted(envdata.keys()):
652 if envdata.getVarFlag(e, 'func', False) and envdata.getVarFlag(e, 'python', False): 652 if envdata.getVarFlag(e, 'func', False) and envdata.getVarFlag(e, 'python', False):
653 logger.plain("\npython %s () {\n%s}\n", e, envdata.getVar(e, False)) 653 logger.plain("\npython %s () {\n%s}\n", e, envdata.getVar(e, False))
654 654
diff --git a/bitbake/lib/bb/data.py b/bitbake/lib/bb/data.py
index d145f1b0ab..a85cb3abff 100644
--- a/bitbake/lib/bb/data.py
+++ b/bitbake/lib/bb/data.py
@@ -196,7 +196,7 @@ def emit_env(o=sys.__stdout__, d = init(), all=False):
196 keys = sorted((key for key in d.keys() if not key.startswith("__")), key=isfunc) 196 keys = sorted((key for key in d.keys() if not key.startswith("__")), key=isfunc)
197 grouped = groupby(keys, isfunc) 197 grouped = groupby(keys, isfunc)
198 for isfunc, keys in grouped: 198 for isfunc, keys in grouped:
199 for key in keys: 199 for key in sorted(keys):
200 emit_var(key, o, d, all and not isfunc) and o.write('\n') 200 emit_var(key, o, d, all and not isfunc) and o.write('\n')
201 201
202def exported_keys(d): 202def exported_keys(d):