clindex: remove one b

Summary: In `hg sl`, this raises an exception.

Reviewed By: singhsrb

Differential Revision: D19635386

fbshipit-source-id: 28482941bd61b5526993d6d16b2886c7edbe763f
This commit is contained in:
Xavier Deguillard 2020-01-30 08:29:33 -08:00 committed by Facebook Github Bot
parent 097503d073
commit a14897afc8

View File

@ -307,7 +307,7 @@ cdef class nodemap(object):
# Convert b'ambiguous prefix' to RevlogError. This is because the
# rust code cannot access RevlogError cleanly. So we do the
# conversion here.
if b'ambiguous prefix' in str(ex):
if 'ambiguous prefix' in str(ex):
raise error.RevlogError
raise