]> git.ipfire.org Git - thirdparty/babel.git/commitdiff
Remove compat.any 15/head
authorDaniel Neuhäuser <dasdasich@gmail.com>
Fri, 5 Jul 2013 15:22:12 +0000 (17:22 +0200)
committerDaniel Neuhäuser <dasdasich@gmail.com>
Fri, 5 Jul 2013 15:22:12 +0000 (17:22 +0200)
We are not compatible with any version that doesn't support it.

babel/compat.py

index 8aab36fe497ad0ea5b6004b53313a1784320cfa4..c9d407a7d7ca3618cb4a394c8c3d5d29ac1f1cf0 100644 (file)
 # 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: