mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Copy paste typo
This commit is contained in:
parent
6f6619242f
commit
923ec62771
1 changed files with 1 additions and 1 deletions
|
@ -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__)
|
||||
|
|
Loading…
Add table
Reference in a new issue