changegroup: suppress pytype error that's wrong
authorAugie Fackler <augie@google.com>
Wed, 06 Nov 2019 17:25:43 -0500
changeset 43538 5b5e62c24b2e
parent 43537 ea0b44255a31
child 43539 9391784299e9
changegroup: suppress pytype error that's wrong Differential Revision: https://phab.mercurial-scm.org/D7293
mercurial/changegroup.py
--- 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.