registrar: don't i18n ProgrammingError message
Differential Revision: https://phab.mercurial-scm.org/D1188
--- a/mercurial/registrar.py Wed Oct 18 22:07:53 2017 -0700
+++ b/mercurial/registrar.py Wed Oct 18 22:10:08 2017 -0700
@@ -7,7 +7,6 @@
from __future__ import absolute_import
-from .i18n import _
from . import (
configitems,
error,
@@ -155,8 +154,8 @@
cmdtype=unrecoverablewrite):
if cmdtype not in self.possiblecmdtypes:
- raise error.ProgrammingError(_("unknown cmdtype value '%s' for "
- "'%s' command") % (cmdtype, name))
+ raise error.ProgrammingError("unknown cmdtype value '%s' for "
+ "'%s' command" % (cmdtype, name))
func.norepo = norepo
func.optionalrepo = optionalrepo
func.inferrepo = inferrepo