change lineend for authorized_keys
This commit is contained in:
parent
f839d08232
commit
0934212421
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue