branch | stable |
changeset 46787 | 70f8c64812db |
parent 46686 | 26d1ddc3f398 |
child 46794 | e2f7b2695ba1 |
--- a/mercurial/changegroup.py Sat Mar 13 00:40:46 2021 -0500 +++ b/mercurial/changegroup.py Sat Mar 13 00:41:37 2021 -0500 @@ -1162,9 +1162,10 @@ def makelookupmflinknode(tree, nodes): if fastpathlinkrev: assert not tree - return ( - manifests.__getitem__ - ) # pytype: disable=unsupported-operands + + # pytype: disable=unsupported-operands + return manifests.__getitem__ + # pytype: enable=unsupported-operands def lookupmflinknode(x): """Callback for looking up the linknode for manifests.