# HG changeset patch # User Mads Kiilerich # Date 1425655284 -3600 # Node ID dea513b7004bd1dbef62001d973ac788499c169a # Parent 87f5ca5cbd7ea64d37e731c4b1a555fc96bab101 kallithea-api: add trailing newline when writing config file diff -r 87f5ca5cbd7e -r dea513b7004b kallithea/bin/base.py --- 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)