Mercurial > public > mercurial-scm > hg-stable
diff mercurial/changegroup.py @ 46415:70f8c64812db stable
typing: fix directives mangled by black
Differential Revision: https://phab.mercurial-scm.org/D10209
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Sat, 13 Mar 2021 00:41:37 -0500 |
parents | 26d1ddc3f398 |
children | e2f7b2695ba1 |
line wrap: on
line diff
--- 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.