From a4481023474772a073553bf2395801cdd08c1088 Mon Sep 17 00:00:00 2001 From: Martin Babinsky Date: Fri, 30 Jan 2015 14:24:15 +0100 Subject: ipa-client-install: put eol character after the last line of altered config file(s) https://fedorahosted.org/freeipa/ticket/4864 Reviewed-By: Martin Basti --- ipa-client/ipaclient/ipachangeconf.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ipa-client') diff --git a/ipa-client/ipaclient/ipachangeconf.py b/ipa-client/ipaclient/ipachangeconf.py index e802e177e..15d41274f 100644 --- a/ipa-client/ipaclient/ipachangeconf.py +++ b/ipa-client/ipaclient/ipachangeconf.py @@ -190,6 +190,9 @@ class IPAChangeConf: continue raise SyntaxError('Unknown type: [%s]' % o['type']) + # append an empty string to the output so that we add eol to the end + # of the file contents in a single join() + output.append('') return self.deol.join(output) def parseLine(self, line): -- cgit