Merge "Fix missing print format error"
This commit is contained in:
commit
d0c499dbd6
@ -297,7 +297,7 @@ def simulate_controller(data_model, delete=False, update=False, create=False,
|
|||||||
|
|
||||||
|
|
||||||
class InvalidHandlerInputObject(Exception):
|
class InvalidHandlerInputObject(Exception):
|
||||||
message = "Invalid Input Object %(obj_type)"
|
message = "Invalid Input Object %(obj_type)s"
|
||||||
|
|
||||||
def __init__(self, **kwargs):
|
def __init__(self, **kwargs):
|
||||||
message = self.message % kwargs
|
message = self.message % kwargs
|
||||||
|
@ -103,7 +103,7 @@ class L7RuleValidation(APIException):
|
|||||||
|
|
||||||
|
|
||||||
class SingleCreateDetailsMissing(APIException):
|
class SingleCreateDetailsMissing(APIException):
|
||||||
msg = _("Missing details for %(type)s object: %(name)")
|
msg = _("Missing details for %(type)s object: %(name)s")
|
||||||
code = 400
|
code = 400
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user