Correcting grammar for subca ValidationError message for clarity (#657)

This commit is contained in:
Neil Schelly 2017-01-18 15:34:16 -05:00 committed by kevgliss
parent d67b6c6120
commit 7f2b44db04
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ class AuthorityInputSchema(LemurInputSchema):
def validate_subca(self, data):
if data['type'] == 'subca':
if not data.get('parent'):
raise ValidationError("If generating a subca parent 'authority' must be specified.")
raise ValidationError("If generating a subca, parent 'authority' must be specified.")
@pre_load
def ensure_dates(self, data):