##// END OF EJS Templates
py3: use pycompat.bytestr() to convert str to bytes
Pulkit Goyal -
r33107:e88fdec9 default
parent child Browse files
Show More
@@ -1884,7 +1884,7 b' def debugrevlog(ui, repo, file_=None, **'
1884 def fmtchunktype(chunktype):
1884 def fmtchunktype(chunktype):
1885 if chunktype == 'empty':
1885 if chunktype == 'empty':
1886 return ' %s : ' % chunktype
1886 return ' %s : ' % chunktype
1887 elif chunktype in string.ascii_letters:
1887 elif chunktype in pycompat.bytestr(string.ascii_letters):
1888 return ' 0x%s (%s) : ' % (hex(chunktype), chunktype)
1888 return ' 0x%s (%s) : ' % (hex(chunktype), chunktype)
1889 else:
1889 else:
1890 return ' 0x%s : ' % hex(chunktype)
1890 return ' 0x%s : ' % hex(chunktype)
General Comments 0
You need to be logged in to leave comments. Login now