mirror of https://github.com/docker/docker-py.git
flake8 fixes
Signed-off-by: Joffrey F <joffrey@docker.com>
This commit is contained in:
parent
c5a92e0822
commit
a6c1d7b751
|
@ -31,7 +31,8 @@ RecentlyUsedContainer = urllib3._collections.RecentlyUsedContainer
|
|||
class UnixHTTPConnection(httplib.HTTPConnection, object):
|
||||
def __init__(self, base_url, unix_socket, timeout=60):
|
||||
super(UnixHTTPConnection, self).__init__(
|
||||
'localhost', timeout=timeout)
|
||||
'localhost', timeout=timeout
|
||||
)
|
||||
self.base_url = base_url
|
||||
self.unix_socket = unix_socket
|
||||
self.timeout = timeout
|
||||
|
@ -46,7 +47,8 @@ class UnixHTTPConnection(httplib.HTTPConnection, object):
|
|||
class UnixHTTPConnectionPool(urllib3.connectionpool.HTTPConnectionPool):
|
||||
def __init__(self, base_url, socket_path, timeout=60):
|
||||
super(UnixHTTPConnectionPool, self).__init__(
|
||||
'localhost', timeout=timeout)
|
||||
'localhost', timeout=timeout
|
||||
)
|
||||
self.base_url = base_url
|
||||
self.socket_path = socket_path
|
||||
self.timeout = timeout
|
||||
|
|
Loading…
Reference in New Issue