mirror of
https://github.com/MISP/misp-galaxy.git
synced 2024-11-26 16:57:18 +00:00
fix: [tools] 360net cosmetic fix
This commit is contained in:
parent
f070943ee9
commit
e056a9ea0c
1 changed files with 2 additions and 0 deletions
|
@ -76,8 +76,10 @@ json_cluster['version'] += 1
|
||||||
# save the Galaxy and Cluster file
|
# save the Galaxy and Cluster file
|
||||||
with open(os.path.join('..', 'galaxies', '360net.json'), 'w') as f:
|
with open(os.path.join('..', 'galaxies', '360net.json'), 'w') as f:
|
||||||
json.dump(json_galaxy, f, indent=2, sort_keys=True, ensure_ascii=False)
|
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:
|
with open(os.path.join('..', 'clusters', '360net.json'), 'w') as f:
|
||||||
json.dump(json_cluster, f, indent=2, sort_keys=True, ensure_ascii=False)
|
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.")
|
print("All done, please don't forget to ./jq_all_the_things.sh, commit, and then ./validate_all.sh.")
|
||||||
|
|
Loading…
Reference in a new issue