Skip to content

Commit

Permalink
Handle empty 'repo' in generate_name
Browse files Browse the repository at this point in the history
  • Loading branch information
avirshup committed Nov 3, 2017
1 parent 524d1be commit c166963
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dockermake/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def list_image_defs(args, defs):
def generate_name(image, repo, tag):
repo_base = repo

if repo_base is not None:
if repo_base:
if repo_base[-1] not in ':/':
repo_base += '/'
repo_name = repo_base + image
Expand Down

0 comments on commit c166963

Please sign in to comment.