From: Stephen Gran Date: Sat, 30 Jan 2010 13:32:02 +0000 (+0000) Subject: add trailing newline to ssh files X-Git-Tag: userdir-ldap-0.3.76~1 X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fuserdir-ldap.git;a=commitdiff_plain;h=690a8188c51eb7bfecb2cae18fc2ccdd9a582f1b add trailing newline to ssh files Signed-off-by: Stephen Gran --- diff --git a/ud-generate b/ud-generate index c93fdf6..358b375 100755 --- a/ud-generate +++ b/ud-generate @@ -403,7 +403,7 @@ def GenSSHtarballs(userlist, SSHFiles, grouprevmap, target): lines.append(line) if not lines: continue # no keys for this host - contents = "\n".join(lines) + contents = "\n".join(lines) + "\n" to.size = len(contents) tf.addfile(to, StringIO(contents))