From: Daniel Neuhäuser Date: Fri, 5 Jul 2013 15:22:12 +0000 (+0200) Subject: Remove compat.any X-Git-Tag: 1.0~116^2^2 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=refs%2Fpull%2F15%2Fhead;p=thirdparty%2Fbabel.git Remove compat.any We are not compatible with any version that doesn't support it. --- 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: