Fix a python3 porting error for urlparse.
Removing extra urlparse from the method call.
This commit is contained in:
parent
e0ca3073b9
commit
611aca51f1
@ -1178,7 +1178,7 @@ class SoapStubAdapter(SoapStubAdapterBase):
|
||||
# the UnixSocketConnection ctor expects to find it -- see above
|
||||
self.host = sock
|
||||
elif url:
|
||||
scheme, self.host, urlpath = urlparse.urlparse(url)[:3]
|
||||
scheme, self.host, urlpath = urlparse(url)[:3]
|
||||
# Only use the URL path if it's sensible, otherwise use the path
|
||||
# keyword argument as passed in.
|
||||
if urlpath not in ('', '/'):
|
||||
|
Loading…
Reference in New Issue
Block a user