diff options
| author | Joffrey F <joffrey@docker.com> | 2014-06-17 03:21:42 +0200 |
|---|---|---|
| committer | Joffrey F <joffrey@docker.com> | 2014-06-17 03:21:42 +0200 |
| commit | de066a1ae6069e34763f8b50c63d60da2a4ec86f (patch) | |
| tree | 7629f82790449f36b6fa743bdb46b31dee7ab98d /docker/utils/utils.py | |
| parent | cdfe29900726c159e1fd0c2f36a8945a9bd5bde5 (diff) | |
| download | docker-py-de066a1ae6069e34763f8b50c63d60da2a4ec86f.tar.gz | |
Python, not Go
Diffstat (limited to 'docker/utils/utils.py')
| -rw-r--r-- | docker/utils/utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docker/utils/utils.py b/docker/utils/utils.py index 3735b94..86db84e 100644 --- a/docker/utils/utils.py +++ b/docker/utils/utils.py @@ -131,10 +131,10 @@ def convert_volume_binds(binds): def parse_repository_tag(repo): column_index = repo.rfind(':') if column_index < 0: - return repo, "" + return repo, None tag = repo[column_index+1:] slash_index = tag.find('/') if slash_index < 0: return repo[:column_index], tag - return repo, "" + return repo, None |
