Replace urllib3.util.url.parse_url with urllib3.util.parse_url

This commit is contained in:
geekerzp 2015-07-10 11:29:42 +08:00
parent 8a3c64aa41
commit b42ead3c0f
2 changed files with 2 additions and 2 deletions

View File

@ -71,7 +71,7 @@ class RESTClientObject(object):
"""
Return proper pool manager for the http\https schemes.
"""
url = urllib3.util.url.parse_url(url)
url = urllib3.util.parse_url(url)
scheme = url.scheme
if scheme == 'https':
return self.ssl_pool_manager

View File

@ -71,7 +71,7 @@ class RESTClientObject(object):
"""
Return proper pool manager for the http\https schemes.
"""
url = urllib3.util.url.parse_url(url)
url = urllib3.util.parse_url(url)
scheme = url.scheme
if scheme == 'https':
return self.ssl_pool_manager