mirror of https://github.com/docker/docker-py.git
Fixed typo
This commit is contained in:
parent
8be4c1f0d3
commit
b438d028dc
|
@ -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':
|
||||
|
|
Loading…
Reference in New Issue