From 53d64cb394ee5cb26f0e9fd875062919a289ec22 Mon Sep 17 00:00:00 2001 From: Dougal Matthews Date: Mon, 11 Aug 2014 17:21:15 +0100 Subject: [PATCH] Remove Python 2.4 compatability for all() We don't test nor support Python 2.4, making this redundant. Change-Id: Ifa7607f162566f94d55040380edc5b0ec13d9552 --- tuskarclient/common/base.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tuskarclient/common/base.py b/tuskarclient/common/base.py index c1989e2..5558604 100644 --- a/tuskarclient/common/base.py +++ b/tuskarclient/common/base.py @@ -17,13 +17,6 @@ Base utilities to build API operation managers and objects on top of. """ -# 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