Remove Python 2.4 compat code

Change-Id: Iebc99b020c8e8b65a4121e8044a51aaba1737b2b
This commit is contained in:
zhurong 2020-04-20 19:56:22 -07:00
parent 8c1ca89062
commit ccccd46b41
1 changed files with 0 additions and 8 deletions

View File

@ -23,14 +23,6 @@ import copy
from muranoclient.apiclient import exceptions
# Python 2.4 compat
try:
all
except NameError:
def all(iterable):
return True not in (not x for x in iterable)
def getid(obj):
"""Get obj's id or object itself if no id