mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Copy paste typo
This commit is contained in:
parent
c2c65b4ac2
commit
7c0f4b889c
@ -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__)
|
||||
|
Loading…
Reference in New Issue
Block a user