diff hgext/evolve.py @ 1340:f455ce2a3587 stable

evolve: migrate off of now-dead util.any
author Augie Fackler <raf@durin42.com>
date Mon, 18 May 2015 13:58:57 -0400
parents 50a40a8cf7be
children e8e3dbddc198 16017e1bb2a1
line wrap: on
line diff
--- 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: