diff options
author | Victor Stinner <victor.stinner@enovance.com> | 2014-03-24 18:20:22 +0100 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2014-03-28 15:04:14 +0000 |
commit | e3b7ecd2bbc5120444b3c1643fb89ccd47e454bb (patch) | |
tree | 81d61ff9d84daf6374ede0db7e7fb9a32d635a95 /swiftclient/client.py | |
parent | cdf6f84c360088d39af1b8e1745c102fc44ac362 (diff) | |
download | python-swiftclient-e3b7ecd2bbc5120444b3c1643fb89ccd47e454bb.tar.gz |
Python 3: Fix module names in import
Use six.moves to fix imports on Python 3.
Change-Id: I35b9405690e9f0607b24d79aa7c00830df954c41
Diffstat (limited to 'swiftclient/client.py')
-rw-r--r-- | swiftclient/client.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/swiftclient/client.py b/swiftclient/client.py index ad77817..5ebbcf2 100644 --- a/swiftclient/client.py +++ b/swiftclient/client.py @@ -25,8 +25,8 @@ import warnings from distutils.version import StrictVersion from requests.exceptions import RequestException, SSLError -from urllib import quote as _quote -from urlparse import urlparse, urlunparse +from six.moves.urllib.parse import quote as _quote +from six.moves.urllib.parse import urlparse, urlunparse from time import sleep, time from swiftclient.exceptions import ClientException, InvalidHeadersException |