Fix exception string format
The string %(action) is not valid, it misses the conversion specified, add s for string. Note that this leads to an untranslatable string, since our translation tools check for valid formats and fail. In this case the failure comes from a source code fail. Change-Id: I2e630928dc32542a8a7c02657a9f0ab1eaab62ff
This commit is contained in:
committed by
Andreas Jaeger
parent
3431b77388
commit
a42c31c221
@@ -305,7 +305,7 @@ class ActionFilterCombinationProhibited(Invalid):
|
|||||||
|
|
||||||
|
|
||||||
class UnsupportedActionType(UnsupportedError):
|
class UnsupportedActionType(UnsupportedError):
|
||||||
msg_fmt = _("Provided %(action_type) is not supported yet")
|
msg_fmt = _("Provided %(action_type)s is not supported yet")
|
||||||
|
|
||||||
|
|
||||||
class EfficacyIndicatorNotFound(ResourceNotFound):
|
class EfficacyIndicatorNotFound(ResourceNotFound):
|
||||||
|
|||||||
Reference in New Issue
Block a user