##// END OF EJS Templates
registrar: don't i18n ProgrammingError message...
Martin von Zweigbergk -
r34897:97017508 default
parent child Browse files
Show More
@@ -7,7 +7,6 b''
7
7
8 from __future__ import absolute_import
8 from __future__ import absolute_import
9
9
10 from .i18n import _
11 from . import (
10 from . import (
12 configitems,
11 configitems,
13 error,
12 error,
@@ -155,8 +154,8 b' class command(_funcregistrarbase):'
155 cmdtype=unrecoverablewrite):
154 cmdtype=unrecoverablewrite):
156
155
157 if cmdtype not in self.possiblecmdtypes:
156 if cmdtype not in self.possiblecmdtypes:
158 raise error.ProgrammingError(_("unknown cmdtype value '%s' for "
157 raise error.ProgrammingError("unknown cmdtype value '%s' for "
159 "'%s' command") % (cmdtype, name))
158 "'%s' command" % (cmdtype, name))
160 func.norepo = norepo
159 func.norepo = norepo
161 func.optionalrepo = optionalrepo
160 func.optionalrepo = optionalrepo
162 func.inferrepo = inferrepo
161 func.inferrepo = inferrepo
General Comments 0
You need to be logged in to leave comments. Login now