diff mercurial/localrepo.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 49c583ca48c4
children bf6b476f3b36
line wrap: on
line diff
--- a/mercurial/localrepo.py	Sat May 16 14:31:03 2015 -0400
+++ b/mercurial/localrepo.py	Sat May 16 14:30:07 2015 -0400
@@ -627,7 +627,7 @@
 
         if not local:
             m = matchmod.exact(self.root, '', ['.hgtags'])
-            if util.any(self.status(match=m, unknown=True, ignored=True)):
+            if any(self.status(match=m, unknown=True, ignored=True)):
                 raise util.Abort(_('working copy of .hgtags is changed'),
                                  hint=_('please commit .hgtags manually'))