From 7c0f4b889ca54b89b407f83bb7017272a8c230c9 Mon Sep 17 00:00:00 2001 From: 3add3287 <3add3287@users.noreply.github.com> Date: Wed, 13 Sep 2017 17:35:39 +0200 Subject: [PATCH] Copy paste typo --- salt/modules/ssh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/modules/ssh.py b/salt/modules/ssh.py index 0c06d38e78..5101d9973c 100644 --- a/salt/modules/ssh.py +++ b/salt/modules/ssh.py @@ -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__)