Skip to content

Commit

Permalink
Bugfix for instances where the uri is not a number. (#681)
Browse files Browse the repository at this point in the history
  • Loading branch information
Craig Davis authored and phobologic committed Nov 18, 2018
1 parent a82836f commit bcf4880
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 bcf4880

Please sign in to comment.