From dfefde11e1de46630415f37181cdf8300456f07f Mon Sep 17 00:00:00 2001 From: Eric Harney Date: Thu, 21 Apr 2016 14:33:48 -0400 Subject: [PATCH] Remove Python 2.5 compat shim We don't support or test with Python 2.5. Change-Id: Id29f0cee786205cc751d2d5bc031b3c105ae6aaa --- cinderclient/client.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/cinderclient/client.py b/cinderclient/client.py index 635069e..f1d0fe9 100644 --- a/cinderclient/client.py +++ b/cinderclient/client.py @@ -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'