Show More
@@ -139,7 +139,7 b' class CloneUriValidator(object):' | |||
|
139 | 139 | raise colander.Invalid(node, e.message) |
|
140 | 140 | except Exception: |
|
141 | 141 | log.exception('Url validation failed') |
|
142 | msg = _(u'invalid clone url for {repo_type} repository').format( | |
|
142 | msg = _(u'invalid clone url or credentials for {repo_type} repository').format( | |
|
143 | 143 | repo_type=self.repo_type) |
|
144 | 144 | raise colander.Invalid(node, msg) |
|
145 | 145 |
@@ -624,7 +624,7 b' def ValidCloneUri(localizer):' | |||
|
624 | 624 | |
|
625 | 625 | class _validator(formencode.validators.FancyValidator): |
|
626 | 626 | messages = { |
|
627 | 'clone_uri': _(u'invalid clone url for %(rtype)s repository'), | |
|
627 | 'clone_uri': _(u'invalid clone url or credentials for %(rtype)s repository'), | |
|
628 | 628 | 'invalid_clone_uri': _( |
|
629 | 629 | u'Invalid clone url, provide a valid clone ' |
|
630 | 630 | u'url starting with one of %(allowed_prefixes)s') |
General Comments 0
You need to be logged in to leave comments.
Login now