Mercurial > kallithea
changeset 4885:dea513b7004b
kallithea-api: add trailing newline when writing config file
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Fri, 06 Mar 2015 16:21:24 +0100 |
parents | 87f5ca5cbd7e |
children | 51c4d2e74898 |
files | kallithea/bin/base.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/bin/base.py Fri Mar 06 16:21:24 2015 +0100 +++ b/kallithea/bin/base.py Fri Mar 06 16:21:24 2015 +0100 @@ -128,6 +128,7 @@ update = True with open(self._conf_name, 'wb') as f: json.dump(config, f, indent=4) + f.write('\n') if update: sys.stdout.write('Updated config in %s\n' % self._conf_name)