diff --git a/johnny/cache.py b/johnny/cache.py
index <HASH>..<HASH> 100644
--- a/johnny/cache.py
+++ b/johnny/cache.py
@@ -19,6 +19,14 @@ import localstore
 import signals
 from transaction import TransactionManager
 
+try:
+    any
+except NameError:
+    def any(iterable):
+        for i in iterable:
+            if i: return True
+        return False
+
 local = localstore.LocalStore()
 blacklist = getattr(settings, 'MAN_IN_BLACKLIST',
             getattr(settings, 'JOHNNY_TABLE_BLACKLIST', []))
diff --git a/johnny/tests/cache.py b/johnny/tests/cache.py
index <HASH>..<HASH> 100644
--- a/johnny/tests/cache.py
+++ b/johnny/tests/cache.py
@@ -8,6 +8,14 @@ from django.db import connection
 from johnny import middleware
 import base
 
+try:
+    any
+except NameError:
+    def any(iterable):
+        for i in iterable:
+            if i: return True
+        return False
+
 # put tests in here to be included in the testing suite
 __all__ = ['MultiDbTest', 'SingleModelTest', 'MultiModelTest', 'TransactionSupportTest', 'BlackListTest']
#<I> fix python<I> compatibility by providing an implementation of <I> builtin 'any'