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