diff options
author | kairat_kushaev <kkushaev@mirantis.com> | 2016-02-01 13:23:18 +0300 |
---|---|---|
committer | kairat_kushaev <kkushaev@mirantis.com> | 2016-02-01 13:23:18 +0300 |
commit | b4a2e28295b1deb002bc5b876c6e17721ba3941c (patch) | |
tree | 229ab290342760e439181a8192cd1cae52f90e42 /glanceclient | |
parent | 185255a5c4bc586a1b36289cb783035cf72f42f4 (diff) | |
download | python-glanceclient-b4a2e28295b1deb002bc5b876c6e17721ba3941c.tar.gz |
Remove code needed for python2.5
glance has a code specific for python2.5. We need to delete this
code cause glanceclient doesn't support neither python2.5 or
python2.6.
Change-Id: I17e4905b6e02fcfff033a6cde03324e2a47bfce2
Diffstat (limited to 'glanceclient')
-rw-r--r-- | glanceclient/common/http.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/glanceclient/common/http.py b/glanceclient/common/http.py index dcea153..1157381 100644 --- a/glanceclient/common/http.py +++ b/glanceclient/common/http.py @@ -23,7 +23,6 @@ from oslo_utils import importutils from oslo_utils import netutils import requests import six -from six.moves.urllib import parse import warnings try: @@ -31,11 +30,6 @@ try: except ImportError: import simplejson as json -# Python 2.5 compat fix -if not hasattr(parse, 'parse_qsl'): - import cgi - parse.parse_qsl = cgi.parse_qsl - from oslo_utils import encodeutils from glanceclient.common import utils |