Skip to content

Commit

Permalink
Adds missing parenthesis for string formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
pcm32 committed May 20, 2016
1 parent 84a9ae3 commit c484ab3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/galaxy/tools/deps/containers.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,14 +110,14 @@ def __overridden_container_id(self, container_type, destination_info):
def __build_container_id_from_parts(self, container_type, destination_info, mode):
repo = ""
owner = ""
repo_key = "%s_repo_%s" % container_type, mode
owner_key = "%s_owner_%s" % container_type, mode
repo_key = "%s_repo_%s" % (container_type, mode)
owner_key = "%s_owner_%s" % (container_type, mode)
if repo_key in destination_info:
repo = destination_info[repo_key] + "/"
if owner_key in destination_info:
owner = destination_info[owner_key] + "/"
cont_id = repo + owner + destination_info["%s_image_%s" % container_type, mode]
tag_key = "%s_tag_%s" % container_type, mode
cont_id = repo + owner + destination_info["%s_image_%s" % (container_type, mode)]
tag_key = "%s_tag_%s" % (container_type, mode)
if tag_key in destination_info:
cont_id += ":" + destination_info[tag_key]
return cont_id
Expand Down

0 comments on commit c484ab3

Please sign in to comment.