changeset 10654:153dd9139b0e

any is not available for python2.4
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Thu, 11 Mar 2010 19:09:35 +0100
parents 4f559a469972
children f63fb5c0cf67
files mercurial/commands.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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