Remove Python 2.5 compat shim
We don't support or test with Python 2.5. Change-Id: Id29f0cee786205cc751d2d5bc031b3c105ae6aaa
This commit is contained in:
parent
8d79acda0f
commit
dfefde11e1
@ -62,11 +62,6 @@ try:
|
||||
except ImportError:
|
||||
import simplejson as json
|
||||
|
||||
# Python 2.5 compat fix
|
||||
if not hasattr(urlparse, 'parse_qsl'):
|
||||
import cgi
|
||||
urlparse.parse_qsl = cgi.parse_qsl
|
||||
|
||||
_VALID_VERSIONS = ['v1', 'v2', 'v3']
|
||||
V3_SERVICE_TYPE = 'volumev3'
|
||||
V2_SERVICE_TYPE = 'volumev2'
|
||||
|
Loading…
x
Reference in New Issue
Block a user