any is not available for python2.4
authorBenoit Boissinot <benoit.boissinot@ens-lyon.org>
Thu, 11 Mar 2010 19:09:35 +0100
changeset 10654 153dd9139b0e
parent 10653 4f559a469972
child 10655 f63fb5c0cf67
any is not available for python2.4
mercurial/commands.py
--- a/mercurial/commands.py	Thu Mar 11 18:49:41 2010 +0100
+++ b/mercurial/commands.py	Thu Mar 11 19:09:35 2010 +0100
@@ -196,7 +196,7 @@
         }
 
         for type, extensions in exttypes.items():
-            if any(dest.endswith(ext) for ext in extensions):
+            if util.any(dest.endswith(ext) for ext in extensions):
                 return type
         return None