summaryrefslogtreecommitdiff
path: root/kombu/utils/compat.py
diff options
context:
space:
mode:
authorAsk Solem <ask@celeryproject.org>2011-09-07 15:21:47 +0100
committerAsk Solem <ask@celeryproject.org>2011-09-07 15:21:47 +0100
commit66ef95038ffb3351592623309119946418c639bf (patch)
treec8189a6f578d6ee9196e1968f6c15be460fbc0bd /kombu/utils/compat.py
parent0b29991566b3d510d39ac61861576ec3e2ef1ae7 (diff)
downloadkombu-66ef95038ffb3351592623309119946418c639bf.tar.gz
2.0-devel: No longer supports Python 2.4
Diffstat (limited to 'kombu/utils/compat.py')
-rw-r--r--kombu/utils/compat.py24
1 files changed, 0 insertions, 24 deletions
diff --git a/kombu/utils/compat.py b/kombu/utils/compat.py
index 4bd2386e..e492c4fc 100644
--- a/kombu/utils/compat.py
+++ b/kombu/utils/compat.py
@@ -1,29 +1,5 @@
import sys
-############## __builtin__.all ##############################################
-
-try:
- all([True])
- all = all
-except NameError:
- def all(iterable): # noqa
- for item in iterable:
- if not item:
- return False
- return True
-
-############## __builtin__.any ##############################################
-
-try:
- any([True])
- any = any
-except NameError:
- def any(iterable): # noqa
- for item in iterable:
- if item:
- return True
- return False
-
############## collections.OrderedDict #######################################
import weakref