Fixed pylint e8303 errors

This commit is contained in:
Jason Hamner 2015-07-21 14:03:21 -06:00
parent 6abad29f66
commit 8db7ada82d

View file

@ -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