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
|
# the UnixSocketConnection ctor expects to find it -- see above
|
||||||
self.host = sock
|
self.host = sock
|
||||||
elif url:
|
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
|
# Only use the URL path if it's sensible, otherwise use the path
|
||||||
# keyword argument as passed in.
|
# keyword argument as passed in.
|
||||||
if urlpath not in ('', '/'):
|
if urlpath not in ('', '/'):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user