mercurial/revset.py
changeset 25149 3f0744eeaeaf
parent 25146 f542a2c89b60
child 25191 08d1ef09ed37
--- a/mercurial/revset.py	Sat May 16 14:31:03 2015 -0400
+++ b/mercurial/revset.py	Sat May 16 14:30:07 2015 -0400
@@ -1121,7 +1121,7 @@
 
     def matches(r):
         c = repo[r]
-        return util.any(kw in encoding.lower(t) for t in c.files() + [c.user(),
+        return any(kw in encoding.lower(t) for t in c.files() + [c.user(),
             c.description()])
 
     return subset.filter(matches)
@@ -1779,7 +1779,7 @@
             return s.added or s.modified or s.removed
 
         if s.added:
-            return util.any(submatches(c.substate.keys()))
+            return any(submatches(c.substate.keys()))
 
         if s.modified:
             subs = set(c.p1().substate.keys())
@@ -1790,7 +1790,7 @@
                     return True
 
         if s.removed:
-            return util.any(submatches(c.p1().substate.keys()))
+            return any(submatches(c.p1().substate.keys()))
 
         return False