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 <mbasti@redhat.com>
This commit is contained in:
Martin Babinsky 2015-01-30 14:24:15 +01:00 committed by Martin Kosek
parent 959b0efa38
commit a448102347

View File

@ -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):