summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/data.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/data.py b/bitbake/lib/bb/data.py
index 0f05b609e0..d145f1b0ab 100644
--- a/bitbake/lib/bb/data.py
+++ b/bitbake/lib/bb/data.py
@@ -220,7 +220,7 @@ def emit_func(func, o=sys.__stdout__, d = init()):
220 """Emits all items in the data store in a format such that it can be sourced by a shell.""" 220 """Emits all items in the data store in a format such that it can be sourced by a shell."""
221 221
222 keys = (key for key in d.keys() if not key.startswith("__") and not d.getVarFlag(key, "func", False)) 222 keys = (key for key in d.keys() if not key.startswith("__") and not d.getVarFlag(key, "func", False))
223 for key in keys: 223 for key in sorted(keys):
224 emit_var(key, o, d, False) 224 emit_var(key, o, d, False)
225 225
226 o.write('\n') 226 o.write('\n')