--- a/mercurial/wireprotov1peer.py Mon Jan 06 13:54:40 2025 -0500
+++ b/mercurial/wireprotov1peer.py Mon Jan 06 14:07:43 2025 -0500
@@ -472,7 +472,7 @@
raise KeyError(b'unknown getbundle option type %s' % keytype)
opts[key] = value
f = self._callcompressable(b"getbundle", **pycompat.strkwargs(opts))
- if any((cap.startswith(b'HG2') for cap in bundlecaps)):
+ if any(cap.startswith(b'HG2') for cap in bundlecaps):
return bundle2.getunbundler(self.ui, f)
else:
return changegroupmod.cg1unpacker(f, b'UN')