From c27fc77fe247915d11547f482370e4e133962eee Mon Sep 17 00:00:00 2001 From: Kui Shi Date: Tue, 22 Oct 2013 15:46:02 +0800 Subject: [PATCH] remove python 2.5 support for parse_sql Python 2.5 is not supported anymore, remove the obsolete code for parse_sql. Close-Bug #1243418 Change-Id: Ib87bde26a9b44555a36e3831f6aa33a6b3a4ba21 --- heatclient/common/http.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/heatclient/common/http.py b/heatclient/common/http.py index c9fa89cf..2b18c073 100644 --- a/heatclient/common/http.py +++ b/heatclient/common/http.py @@ -32,11 +32,6 @@ try: except ImportError: import simplejson as json -# Python 2.5 compat fix -if not hasattr(urlutils, 'parse_qsl'): - import cgi - urlutils.parse_qsl = cgi.parse_qsl - from heatclient import exc