remove py24 compatible code
Change-Id: If62986b3ba913776ee6b9328a10e358e0e14e7cd
This commit is contained in:
parent
c4abadfee8
commit
d2feb8871b
@ -23,13 +23,6 @@ from ceilometerclient import exc
|
||||
from ceilometerclient.openstack.common.apiclient import base
|
||||
from ceilometerclient.openstack.common.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):
|
||||
"""Extracts object ID.
|
||||
|
Loading…
Reference in New Issue
Block a user