evolve: migrate off of now-dead util.any stable
authorAugie Fackler <raf@durin42.com>
Mon, 18 May 2015 13:58:57 -0400
branchstable
changeset 1340 f455ce2a3587
parent 1337 1c8fbaf9306b
child 1341 e8e3dbddc198
child 1342 16017e1bb2a1
evolve: migrate off of now-dead util.any
hgext/evolve.py
--- a/hgext/evolve.py	Wed May 13 17:25:15 2015 -0700
+++ b/hgext/evolve.py	Mon May 18 13:58:57 2015 -0400
@@ -86,7 +86,7 @@
     raise ImportError('evolve needs version %s or above' % min(testedwith.split()))
 
 aliases, entry = cmdutil.findcmd('commit', commands.table)
-hasinteractivemode = util.any(['interactive' in e for e in entry[1]])
+hasinteractivemode = any(['interactive' in e for e in entry[1]])
 if hasinteractivemode:
     interactiveopt = [['i', 'interactive', None, _('use interactive mode')]]
 else: