aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Ejdestig <marejde@gmail.com>2015-12-28 23:47:52 +0100
committerMartin Ejdestig <marejde@gmail.com>2015-12-28 23:51:10 +0100
commitcd5121c0ec21c4afb29af63b3595ebea40dc52e2 (patch)
treeb03aaa8e8d67b78066142fed8cd5e8014230b692
parent3e8218a9301c08d333e0dc97caeada4099ee6d33 (diff)
downloadmeson-cd5121c0ec21c4afb29af63b3595ebea40dc52e2.zip
meson-cd5121c0ec21c4afb29af63b3595ebea40dc52e2.tar.gz
meson-cd5121c0ec21c4afb29af63b3595ebea40dc52e2.tar.bz2
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)