typo: may -> many

This commit is contained in:
minusf 2017-07-20 23:42:51 +02:00
parent 2d4226c2bd
commit 9ec89141ee

View File

@ -129,8 +129,8 @@ class ValidationError(APIException):
if code is None: if code is None:
code = self.default_code code = self.default_code
# For validation failures, we may collect may errors together, so the # For validation failures, we may collect many errors together,
# details should always be coerced to a list if not already. # so the details should always be coerced to a list if not already.
if not isinstance(detail, dict) and not isinstance(detail, list): if not isinstance(detail, dict) and not isinstance(detail, list):
detail = [detail] detail = [detail]