diff hgext/gpg.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 7cc77030c557
children 80c5b2666a96
line wrap: on
line diff
--- a/hgext/gpg.py	Sat May 16 14:31:03 2015 -0400
+++ b/hgext/gpg.py	Sat May 16 14:30:07 2015 -0400
@@ -255,7 +255,7 @@
 
     if not opts["force"]:
         msigs = match.exact(repo.root, '', ['.hgsigs'])
-        if util.any(repo.status(match=msigs, unknown=True, ignored=True)):
+        if any(repo.status(match=msigs, unknown=True, ignored=True)):
             raise util.Abort(_("working copy of .hgsigs is changed "),
                              hint=_("please commit .hgsigs manually"))