Append newline to network config

This commit is contained in:
Anders Ingemann 2014-01-20 20:51:21 +01:00
parent 6926977a30
commit d11989f976

View file

@ -35,4 +35,4 @@ class ConfigureNetworkIF(Task):
import json import json
if_config = json.loads(stream.read()) if_config = json.loads(stream.read())
with open(interfaces_path, 'a') as interfaces: with open(interfaces_path, 'a') as interfaces:
interfaces.write('\n'.join(if_config.get(info.manifest.system['release']))) interfaces.write('\n'.join(if_config.get(info.manifest.system['release'])) + '\n')