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:
Sertonix 2025-03-21 08:25:34 +00:00
commit bcacc5c1fa

View file

@ -132,5 +132,5 @@ 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
)