aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Gnatenko <i.gnatenko.brain@gmail.com>2015-12-29 00:02:40 +0100
committerIgor Gnatenko <i.gnatenko.brain@gmail.com>2015-12-29 00:02:40 +0100
commit4352d1b4bf7dbc8683b333272769dbcfe884d86d (patch)
treeb03aaa8e8d67b78066142fed8cd5e8014230b692
parent3e8218a9301c08d333e0dc97caeada4099ee6d33 (diff)
parentcd5121c0ec21c4afb29af63b3595ebea40dc52e2 (diff)
downloadmeson-4352d1b4bf7dbc8683b333272769dbcfe884d86d.zip
meson-4352d1b4bf7dbc8683b333272769dbcfe884d86d.tar.gz
meson-4352d1b4bf7dbc8683b333272769dbcfe884d86d.tar.bz2
Merge pull request #342 from martin-ejdestig/fix_vcs_tag_missing_fallback_error_string
Fix vcs_tag missing fallback error string
-rw-r--r--interpreter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/interpreter.py b/interpreter.py
index f7853ee..a03c0bb 100644
--- a/interpreter.py
+++ b/interpreter.py
@@ -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)