Submitter | Pulkit Goyal |
---|---|
Date | June 26, 2017, 7:55 p.m. |
Message ID | <f4f483472ca87678a006.1498506929@workspace> |
Download | mbox | patch |
Permalink | /patch/21749/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/mercurial/debugcommands.py b/mercurial/debugcommands.py --- a/mercurial/debugcommands.py +++ b/mercurial/debugcommands.py @@ -1884,7 +1884,7 @@ def fmtchunktype(chunktype): if chunktype == 'empty': return ' %s : ' % chunktype - elif chunktype in string.ascii_letters: + elif chunktype in pycompat.bytestr(string.ascii_letters): return ' 0x%s (%s) : ' % (hex(chunktype), chunktype) else: return ' 0x%s : ' % hex(chunktype)