Skip to content

Commit

Permalink
Bugfix for instances where the uri is not a number. (cloudtools#681)
Browse files Browse the repository at this point in the history
  • Loading branch information
Craig Davis authored and zollman committed Nov 26, 2018
1 parent 05d4e47 commit 26d3586
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stacker/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -842,7 +842,7 @@ def git_ls_remote(self, uri, ref):
logger.debug("Matching commit id found: %s", commit_id)
return commit_id
else:
raise ValueError("Ref \"%s\" not found for repo %d." % (ref, uri))
raise ValueError("Ref \"%s\" not found for repo %s." % (ref, uri))

def determine_git_ls_remote_ref(self, config):
"""Determine the ref to be used with the "git ls-remote" command.
Expand Down

0 comments on commit 26d3586

Please sign in to comment.