From 6a0e018e898d0d6335ed63884bb3d728b3408181 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Daniel=20Neuha=CC=88user?= Date: Fri, 5 Jul 2013 17:22:12 +0200 Subject: [PATCH] Remove compat.any We are not compatible with any version that doesn't support it. --- babel/compat.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/babel/compat.py b/babel/compat.py index 8aab36fe..c9d407a7 100644 --- a/babel/compat.py +++ b/babel/compat.py @@ -11,12 +11,6 @@ # individuals. For the exact contribution history, see the revision # history and logs, available at http://babel.edgewall.org/log/. -try: - any = any -except NameError: - def any(iterable): - return filter(None, list(iterable)) - try: import threading except ImportError: -- 2.47.2