Copy paste typo

This commit is contained in:
3add3287 2017-09-13 17:35:39 +02:00
parent c2c65b4ac2
commit 7c0f4b889c

View File

@ -774,7 +774,7 @@ def set_auth_key(
# File isn't empty, check if last byte is a newline
# If not, add one
_fh.seek(-1,2)
if _fh.read(1) != six.b('\n')
if _fh.read(1) != six.b('\n'):
_fh.write(six.b('\n'))
if six.PY3:
auth_line = auth_line.encode(__salt_system_encoding__)