From e056a9ea0c17ff9bb0180c682e4d935924ef36a2 Mon Sep 17 00:00:00 2001 From: Christophe Vandeplas Date: Sun, 23 Apr 2023 10:19:48 +0200 Subject: [PATCH] fix: [tools] 360net cosmetic fix --- tools/gen_360net.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/gen_360net.py b/tools/gen_360net.py index ffb0496..5d03562 100755 --- a/tools/gen_360net.py +++ b/tools/gen_360net.py @@ -76,8 +76,10 @@ json_cluster['version'] += 1 # save the Galaxy and Cluster file with open(os.path.join('..', 'galaxies', '360net.json'), 'w') as f: json.dump(json_galaxy, f, indent=2, sort_keys=True, ensure_ascii=False) + f.write('\n') # only needed for the beauty and to be compliant with jq_all_the_things with open(os.path.join('..', 'clusters', '360net.json'), 'w') as f: json.dump(json_cluster, f, indent=2, sort_keys=True, ensure_ascii=False) + f.write('\n') # only needed for the beauty and to be compliant with jq_all_the_things print("All done, please don't forget to ./jq_all_the_things.sh, commit, and then ./validate_all.sh.")