Don't translate exceptions w/ no message

These messages only contain variable references,
so there is nothing to translate.

Trivial Fix

Change-Id: I38ef82f0fa846d3b23f6a6ebb1ab9a1fa69e300d
This commit is contained in:
poojajadhav
2017-01-05 18:35:34 +05:30
parent b2f16d9940
commit 28fe229a6f

View File

@@ -324,7 +324,7 @@ class ApiVersionsIntersect(Invalid):
# Cannot be templated as the error syntax varies.
# msg needs to be constructed when raised.
class InvalidParameterValue(Invalid):
msg_fmt = _("%(err)s")
msg_fmt = "%(err)s"
class InvalidAggregateAction(Invalid):