mercurial/wireproto.py
changeset 25149 3f0744eeaeaf
parent 25128 631766d1f57a
child 25179 6dbbb4fa1892
--- a/mercurial/wireproto.py	Sat May 16 14:31:03 2015 -0400
+++ b/mercurial/wireproto.py	Sat May 16 14:30:07 2015 -0400
@@ -367,7 +367,7 @@
                                % keytype)
             opts[key] = value
         f = self._callcompressable("getbundle", **opts)
-        if util.any((cap.startswith('HG2') for cap in bundlecaps)):
+        if any((cap.startswith('HG2') for cap in bundlecaps)):
             return bundle2.getunbundler(self.ui, f)
         else:
             return changegroupmod.cg1unpacker(f, 'UN')