Copy paste typo

This commit is contained in:
3add3287 2017-09-13 17:35:39 +02:00 committed by rallytime
parent 6f6619242f
commit 923ec62771

View file

@ -745,7 +745,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__)