1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-19 19:00:10 +01:00

Merge pull request #1853 from return42/sort_osm_keys

[fix] update_osm_keys_tags.py: sort JSON dump
This commit is contained in:
Markus Heiser 2022-10-11 11:57:17 +02:00 committed by GitHub
commit a733761288
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2203 additions and 1020 deletions

File diff suppressed because it is too large Load Diff

View File

@ -215,4 +215,4 @@ if __name__ == '__main__':
'tags': optimize_tags(get_tags()), 'tags': optimize_tags(get_tags()),
} }
with open(get_osm_tags_filename(), 'w', encoding="utf8") as f: with open(get_osm_tags_filename(), 'w', encoding="utf8") as f:
json.dump(result, f, indent=4, ensure_ascii=False) json.dump(result, f, indent=4, ensure_ascii=False, sort_keys=True)