File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 31
31
class UnixHTTPConnection (httplib .HTTPConnection , object ):
32
32
def __init__ (self , base_url , unix_socket , timeout = 60 ):
33
33
super (UnixHTTPConnection , self ).__init__ (
34
- 'localhost' , timeout = timeout )
34
+ 'localhost' , timeout = timeout
35
+ )
35
36
self .base_url = base_url
36
37
self .unix_socket = unix_socket
37
38
self .timeout = timeout
@@ -46,7 +47,8 @@ def connect(self):
46
47
class UnixHTTPConnectionPool (urllib3 .connectionpool .HTTPConnectionPool ):
47
48
def __init__ (self , base_url , socket_path , timeout = 60 ):
48
49
super (UnixHTTPConnectionPool , self ).__init__ (
49
- 'localhost' , timeout = timeout )
50
+ 'localhost' , timeout = timeout
51
+ )
50
52
self .base_url = base_url
51
53
self .socket_path = socket_path
52
54
self .timeout = timeout
You can’t perform that action at this time.
0 commit comments