Replace negative contraction with Cannot

In accordance with style guide
This commit is contained in:
Chris Hill-Scott
2019-09-18 14:21:25 +01:00
committed by GitHub
parent 20f857753a
commit 56772533e6

View File

@@ -1422,7 +1422,7 @@ class BrandingOptionsEmail(StripWhitespaceForm):
self.something_else_is_only_option or
self.options.data == self.FALLBACK_OPTION_VALUE
) and not field.data:
raise ValidationError('Cant be empty')
raise ValidationError('Cannot be empty')
if self.options.data != self.FALLBACK_OPTION_VALUE:
field.data = ''