Fix validation error grammar

This commit is contained in:
Matthew Jones 2017-03-02 15:04:15 -05:00
parent ed5a01c0cf
commit 50ccd1b003

View File

@ -142,7 +142,7 @@ class ProjectOptions(models.Model):
cred = self.credential
if cred:
if cred.kind != 'scm':
raise ValidationError(_("Credential kind must be either 'scm'."))
raise ValidationError(_("Credential kind must be 'scm'."))
try:
if self.scm_type == 'insights':
self.scm_url = settings.INSIGHTS_URL_BASE