Mercurial > public > mercurial-scm > hg
diff mercurial/dirstate.py @ 25151:6eb4bdad198f
cleanup: use __builtins__.all instead of util.all
author | Augie Fackler <augie@google.com> |
---|---|
date | Sat, 16 May 2015 14:34:19 -0400 |
parents | cb981009d697 |
children | 3139900f31b1 |
line wrap: on
line diff
--- a/mercurial/dirstate.py Sat May 16 14:34:04 2015 -0400 +++ b/mercurial/dirstate.py Sat May 16 14:34:19 2015 -0400 @@ -972,7 +972,7 @@ # fast path -- filter the other way around, since typically files is # much smaller than dmap return [f for f in files if f in dmap] - if not match.anypats() and util.all(fn in dmap for fn in files): + if not match.anypats() and all(fn in dmap for fn in files): # fast path -- all the values are known to be files, so just return # that return list(files)