When prettify add new line at the end of the file.

This avoid trouble with most text editors.
This commit is contained in:
Julien Duponchelle 2016-01-15 10:18:10 +01:00
parent 15ee8fba0c
commit eced8be2a5
41 changed files with 41 additions and 40 deletions

View File

@ -65,4 +65,5 @@ for appliance in glob.glob('appliances/*.gns3a'):
# Save
with open(appliance, 'w') as f:
json.dump(config, f,indent=4)
f.write("\n")