mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
Merge branch 'sertonix-main-patch-40041' into 'main'
Sort keys in collect-sections.py See merge request jwestman/blueprint-compiler!236
This commit is contained in:
commit
1a70dd05a7
1 changed files with 4 additions and 1 deletions
|
@ -132,5 +132,8 @@ if __name__ == "__main__":
|
|||
# print the sections to a json file
|
||||
with open(outfile, "w") as f:
|
||||
json.dump(
|
||||
{name: section.to_json() for name, section in sections.items()}, f, indent=2
|
||||
{name: section.to_json() for name, section in sections.items()},
|
||||
f,
|
||||
indent=2,
|
||||
sort_keys=True,
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue