HomePhabricator

crecord: convert an instance of bytes to str

Authored by mharbison72.

Description

crecord: convert an instance of bytes to str

Caught by pytype:

File "/mnt/c/Users/Matt/hg/mercurial/crecord.py", line 1154, in printstring: Function _CursesWindow.addstr was called with the wrong arguments [wrong-arg-types]
         Expected: (self, str: str, ...)
  Actually passed: (self, str: bytes, ...)

Differential Revision: https://phab.mercurial-scm.org/D10203

Details

Committed
mharbison72Mar 12 2021, 6:55 PM
Differential Revision
D10203: crecord: convert an instance of bytes to str
Parents
rHG279edaaea711: crecord: change str literals to byte literals
Branches
Unknown
Tags
Unknown