doctor: fix check-code

Reviewed By: singhsrb

Differential Revision: D29486195

fbshipit-source-id: 69a006c4986b6fd45bfbba55bd1bb057d9dc2ddd
This commit is contained in:
Jun Wu 2021-06-30 08:58:53 -07:00 committed by Facebook GitHub Bot
parent 8e3c29e8d1
commit c82c43ab67

View File

@ -274,7 +274,7 @@ def openchangelog(ui, svfs):
except Exception as e:
if ui.debugflag or ui.tracebackflag:
ui.traceback()
ui.warn("cannot open changelog: %s\n" % e)
ui.warn(_("cannot open changelog: %s\n") % e)
return None
return cl