diff options
author | Jenkins <jenkins@review.openstack.org> | 2016-01-07 22:23:34 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2016-01-07 22:23:34 +0000 |
commit | 54c2e853d23f3e5ea6b90133f63a1bbd8ed7c206 (patch) | |
tree | 851711452b6ab7a2877da8469d0c17e7bda53233 | |
parent | b3a3d020b9ee9e3b3c8854a0d986a22b20895863 (diff) | |
parent | d2feb8871b843f13333bfbe862f7e303a7819a0b (diff) | |
download | python-ceilometerclient-54c2e853d23f3e5ea6b90133f63a1bbd8ed7c206.tar.gz |
Merge "remove py24 compatible code"
-rw-r--r-- | ceilometerclient/common/base.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/ceilometerclient/common/base.py b/ceilometerclient/common/base.py index 19d4e8a..3bb30ac 100644 --- a/ceilometerclient/common/base.py +++ b/ceilometerclient/common/base.py @@ -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. |