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:
@@ -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
|
||||
|
Reference in New Issue
Block a user