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
This commit is contained in:
kairat_kushaev
2016-02-01 13:23:18 +03:00
parent 185255a5c4
commit b4a2e28295

View File

@@ -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