# HG changeset patch # User Benoit Boissinot # Date 2010-03-11 18:09:35 # Node ID 153dd9139b0e0ed287abea07c5f85c7df54580bb # Parent 4f559a4699726da45cb2bd47b8e44f303fb4a8be any is not available for python2.4 diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -196,7 +196,7 @@ def archive(ui, repo, dest, **opts): } 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