Merge pull request #342 from martin-ejdestig/fix_vcs_tag_missing_fallback_error_string

Fix vcs_tag missing fallback error string
This commit is contained in:
Igor Gnatenko 2015-12-29 00:02:40 +01:00
commit 4352d1b4bf
1 changed files with 1 additions and 1 deletions

View File

@ -1591,7 +1591,7 @@ class Interpreter():
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)