Mercurial > public > mercurial-scm > hg
diff hgext/largefiles/lfutil.py @ 25149:3f0744eeaeaf
cleanup: use __builtins__.any instead of util.any
any() is available in all Python versions we support now.
author | Augie Fackler <augie@google.com> |
---|---|
date | Sat, 16 May 2015 14:30:07 -0400 |
parents | 2a3f24786d09 |
children | 85f1aaf18ecb |
line wrap: on
line diff
--- a/hgext/largefiles/lfutil.py Sat May 16 14:31:03 2015 -0400 +++ b/hgext/largefiles/lfutil.py Sat May 16 14:30:07 2015 -0400 @@ -364,10 +364,10 @@ def islfilesrepo(repo): if ('largefiles' in repo.requirements and - util.any(shortnameslash in f[0] for f in repo.store.datafiles())): + any(shortnameslash in f[0] for f in repo.store.datafiles())): return True - return util.any(openlfdirstate(repo.ui, repo, False)) + return any(openlfdirstate(repo.ui, repo, False)) class storeprotonotcapable(Exception): def __init__(self, storetypes):