From b4a2e28295b1deb002bc5b876c6e17721ba3941c Mon Sep 17 00:00:00 2001 From: kairat_kushaev Date: Mon, 1 Feb 2016 13:23:18 +0300 Subject: 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 --- glanceclient/common/http.py | 6 ------ 1 file changed, 6 deletions(-) (limited to 'glanceclient/common/http.py') 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 -- cgit v1.2.1