changegroup: suppress pytype error that's wrong
Differential Revision: https://phab.mercurial-scm.org/D7293
--- a/mercurial/changegroup.py Wed Nov 06 17:23:47 2019 -0500
+++ b/mercurial/changegroup.py Wed Nov 06 17:25:43 2019 -0500
@@ -1150,7 +1150,9 @@
def makelookupmflinknode(tree, nodes):
if fastpathlinkrev:
assert not tree
- return manifests.__getitem__
+ return (
+ manifests.__getitem__ # pytype: disable=unsupported-operands
+ )
def lookupmflinknode(x):
"""Callback for looking up the linknode for manifests.