Skip to content
Snippets Groups Projects
Commit 97017508 authored by Martin von Zweigbergk's avatar Martin von Zweigbergk
Browse files

registrar: don't i18n ProgrammingError message

Differential Revision: https://phab.mercurial-scm.org/D1188
parent 7b857c59
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment