Mercurial > hg-stable
changeset 43547:1a47fe4bc154
branchmap: pytype is confused about bytestr
Differential Revision: https://phab.mercurial-scm.org/D7290
author | Augie Fackler <augie@google.com> |
---|---|
date | Wed, 06 Nov 2019 16:30:14 -0500 |
parents | 3b31ee5388f3 |
children | 6337b10c46bc |
files | mercurial/branchmap.py |
diffstat | 1 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/branchmap.py Wed Nov 06 15:34:40 2019 -0500 +++ b/mercurial/branchmap.py Wed Nov 06 16:30:14 2019 -0500 @@ -269,7 +269,13 @@ if repo.ui.debugflag: msg = b'invalid %s: %s\n' repo.ui.debug( - msg % (_branchcachedesc(repo), pycompat.bytestr(inst)) + msg + % ( + _branchcachedesc(repo), + pycompat.bytestr( + inst # pytype: disable=wrong-arg-types + ), + ) ) bcache = None