Skip to content

Commit a6c1d7b

Browse files
committed
flake8 fixes
Signed-off-by: Joffrey F <[email protected]>
1 parent c5a92e0 commit a6c1d7b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docker/unixconn/unixconn.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131
class UnixHTTPConnection(httplib.HTTPConnection, object):
3232
def __init__(self, base_url, unix_socket, timeout=60):
3333
super(UnixHTTPConnection, self).__init__(
34-
'localhost', timeout=timeout)
34+
'localhost', timeout=timeout
35+
)
3536
self.base_url = base_url
3637
self.unix_socket = unix_socket
3738
self.timeout = timeout
@@ -46,7 +47,8 @@ def connect(self):
4647
class UnixHTTPConnectionPool(urllib3.connectionpool.HTTPConnectionPool):
4748
def __init__(self, base_url, socket_path, timeout=60):
4849
super(UnixHTTPConnectionPool, self).__init__(
49-
'localhost', timeout=timeout)
50+
'localhost', timeout=timeout
51+
)
5052
self.base_url = base_url
5153
self.socket_path = socket_path
5254
self.timeout = timeout

0 commit comments

Comments
 (0)