Fixed typo

This commit is contained in:
Jason Sommer 2013-10-20 05:25:19 -05:00
parent 8be4c1f0d3
commit b438d028dc
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ def expand_registry_url(hostname):
def resolve_repository_name(repo_name):
if '://' in repo_name:
raise ValueError('Repository name can not contain a'
raise ValueError('Repository name cannot contain a '
'scheme ({0})'.format(repo_name))
parts = repo_name.split('/', 1)
if not '.' in parts[0] and not ':' in parts[0] and parts[0] != 'localhost':