# HG changeset patch # User Benoit Boissinot # Date 1268330975 -3600 # Node ID 153dd9139b0e0ed287abea07c5f85c7df54580bb # Parent 4f559a4699726da45cb2bd47b8e44f303fb4a8be any is not available for python2.4 diff -r 4f559a469972 -r 153dd9139b0e 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