diff --git a/.coveragerc b/.coveragerc index 365f1a61..9df909f4 100644 --- a/.coveragerc +++ b/.coveragerc @@ -19,4 +19,3 @@ exclude_lines = raise NotImplementedError if __name__ == .__main__.: logger.debug - return self.host_clients[host] diff --git a/pssh/ssh_client.py b/pssh/ssh_client.py index 44821017..343cc0a2 100644 --- a/pssh/ssh_client.py +++ b/pssh/ssh_client.py @@ -153,7 +153,7 @@ def _connect_tunnel(self): raise ConnectionErrorException("Error connecting to host '%s:%s' - %s", self.host, self.port, str(error_type)) - + def _connect(self, client, host, port, sock=None, retries=1, user=None, password=None, pkey=None): """Connect to host