mirror of https://github.com/docker/docker-py.git
flake8 fixes
Signed-off-by: aiordache <anca.iordache@docker.com>
This commit is contained in:
parent
b72988bc87
commit
593d0c97d3
|
@ -97,7 +97,6 @@ class SSHSocket(socket.socket):
|
|||
self.proc.stdin.flush()
|
||||
return len(msg)
|
||||
|
||||
|
||||
def recv(self):
|
||||
if not self.proc:
|
||||
raise Exception('SSH subprocess not initiated.'
|
||||
|
@ -119,6 +118,7 @@ class SSHSocket(socket.socket):
|
|||
self.proc.stdin.flush()
|
||||
self.proc.terminate()
|
||||
|
||||
|
||||
class SSHConnection(httplib.HTTPConnection, object):
|
||||
def __init__(self, ssh_transport=None, timeout=60, host=None):
|
||||
super(SSHConnection, self).__init__(
|
||||
|
|
|
@ -85,7 +85,10 @@ class BaseAPIIntegrationTest(BaseIntegrationTest):
|
|||
@staticmethod
|
||||
def get_client_instance():
|
||||
return docker.APIClient(
|
||||
version=TEST_API_VERSION, timeout=60, use_ssh_client=True, **kwargs_from_env()
|
||||
version=TEST_API_VERSION,
|
||||
timeout=60,
|
||||
use_ssh_client=True,
|
||||
**kwargs_from_env()
|
||||
)
|
||||
|
||||
@staticmethod
|
||||
|
|
Loading…
Reference in New Issue