diff options
Diffstat (limited to 'buildstream')
-rw-r--r-- | buildstream/_yaml.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/_yaml.py b/buildstream/_yaml.py index 06a806075..f9d49343d 100644 --- a/buildstream/_yaml.py +++ b/buildstream/_yaml.py @@ -563,7 +563,7 @@ def node_sanitize(node): result = SanitizedDict() - for key in sorted(node): + for key in sorted(node, key=lambda s: (s == PROVENANCE_KEY, s)): if key == PROVENANCE_KEY: continue result[key] = node_sanitize(node[key]) |