change lineend for authorized_keys

This commit is contained in:
Jakobus Schürz 2021-10-31 12:07:57 +01:00
parent f839d08232
commit 0934212421

View file

@ -77,12 +77,12 @@ def writeAuthorizedKeys(path, keydir):
if in_ is not None:
for line in filterAuthorizedKeys(in_):
#print >>out, line
print(line, end="", file=out)
print(line, file=out)
keygen = readKeys(keydir)
for line in generateAuthorizedKeys(keygen):
#print >>out, line
print(line, end="", file=out)
print(line, file=out)
os.fsync(out)
finally: