mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fixed pylint e8303 errors
This commit is contained in:
parent
6abad29f66
commit
8db7ada82d
1 changed files with 0 additions and 2 deletions
|
@ -30,7 +30,6 @@ log = logging.getLogger(__name__)
|
|||
DEFAULT_SSH_PORT = 22
|
||||
|
||||
|
||||
|
||||
def __virtual__():
|
||||
# TODO: This could work on windows with some love
|
||||
if salt.utils.is_windows():
|
||||
|
@ -992,7 +991,6 @@ def hash_known_hosts(user=None, config=None):
|
|||
return {'status': 'updated', 'comment': cmd_result}
|
||||
|
||||
|
||||
|
||||
def _hostname_and_port_to_ssh_hostname(hostname, port=DEFAULT_SSH_PORT):
|
||||
if not port or port == DEFAULT_SSH_PORT:
|
||||
return hostname
|
||||
|
|
Loading…
Add table
Reference in a new issue