Skip to content

Commit

Permalink
Fix vcs_tag missing fallback error string
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-ejdestig committed Dec 28, 2015
1 parent 3e8218a commit cd5121c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interpreter.py
Original file line number Diff line number Diff line change
Expand Up @@ -1591,7 +1591,7 @@ def func_build_target(self, node, args, kwargs):
def func_vcs_tag(self, node, args, kwargs):
fallback = kwargs.pop('fallback', None)
if not isinstance(fallback, str):
raise InterpreterException('Keyword argument must exist and be a string.')
raise InterpreterException('Keyword argument fallback must exist and be a string.')
replace_string = kwargs.pop('replace_string', '@VCS_TAG@')
regex_selector = '(.*)' # default regex selector for custom command: use complete output
vcs_cmd = kwargs.get('command', None)
Expand Down

0 comments on commit cd5121c

Please sign in to comment.