diff --git a/keystoneclient/generic/client.py b/keystoneclient/generic/client.py index a1f80724..c0f2b5fe 100644 --- a/keystoneclient/generic/client.py +++ b/keystoneclient/generic/client.py @@ -16,7 +16,7 @@ # under the License. import logging -import urlparse +from six.moves.urllib import parse as urlparse from keystoneclient import exceptions from keystoneclient import httpclient diff --git a/keystoneclient/httpclient.py b/keystoneclient/httpclient.py index bd9aceb5..b5ae93d7 100644 --- a/keystoneclient/httpclient.py +++ b/keystoneclient/httpclient.py @@ -23,7 +23,7 @@ OpenStack Client interface. Handles the REST calls and responses. import copy import logging -import urlparse +from six.moves.urllib import parse as urlparse import requests import six diff --git a/keystoneclient/tests/v2_0/fakes.py b/keystoneclient/tests/v2_0/fakes.py index 09e7f20c..55442a49 100644 --- a/keystoneclient/tests/v2_0/fakes.py +++ b/keystoneclient/tests/v2_0/fakes.py @@ -13,7 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -import urlparse +from six.moves.urllib import parse as urlparse from keystoneclient.tests import fakes from keystoneclient.tests.v2_0 import utils diff --git a/keystoneclient/tests/v3/utils.py b/keystoneclient/tests/v3/utils.py index 00a2c2b0..182e947c 100644 --- a/keystoneclient/tests/v3/utils.py +++ b/keystoneclient/tests/v3/utils.py @@ -12,10 +12,10 @@ # License for the specific language governing permissions and limitations # under the License. -import urlparse import uuid import httpretty +from six.moves.urllib import parse as urlparse from keystoneclient.openstack.common import jsonutils from keystoneclient.tests import utils