From 27556cdf82b214d4d5269af9901ece18c1126416 Mon Sep 17 00:00:00 2001 From: Montana Date: Thu, 17 Jan 2019 11:00:35 -0500 Subject: [PATCH] Formatting --- atst/forms/validators.py | 1 + 1 file changed, 1 insertion(+) diff --git a/atst/forms/validators.py b/atst/forms/validators.py index a1e77d25..d8b59d97 100644 --- a/atst/forms/validators.py +++ b/atst/forms/validators.py @@ -90,6 +90,7 @@ def RequiredIfNot(other_field_name, message=translate("forms.validators.is_requi message (str): an optional message to display if the field is required but hasNone value """ + def _required_if_not(form, field): other_field = form._fields.get(other_field_name) if other_field is None: