Remove python 2.4 and python 2.5 support.

As a project we do not support python 2.4 or python 2.5
and these versions of python are not tested, so remove
the compatibility code.

Change-Id: I267d9e7e83d85322c45d56d9c5256b514224ad8c
Signed-off-by: Chuck Short <chuck.short@canonical.com>
This commit is contained in:
Chuck Short 2013-07-24 13:47:41 -04:00
parent 2a19ba3031
commit 3f0312eabc
2 changed files with 0 additions and 13 deletions

View File

@ -30,14 +30,6 @@ from novaclient import exceptions
from novaclient import utils
# Python 2.4 compat
try:
all
except NameError:
def all(iterable):
return True not in (not x for x in iterable)
def getid(obj):
"""
Abstracts the common pattern of allowing both an object or an object's ID

View File

@ -19,11 +19,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
from novaclient import exceptions
from novaclient import service_catalog
from novaclient import utils