diff options
Diffstat (limited to 'buildstream/_variables.py')
-rw-r--r-- | buildstream/_variables.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/_variables.py b/buildstream/_variables.py index 3d84d79e2..b4c920a71 100644 --- a/buildstream/_variables.py +++ b/buildstream/_variables.py @@ -87,7 +87,7 @@ class Variables(): token = match.group(0) varname = match.group(1) - value = _yaml.node_get(variables, str, varname) + value = _yaml.node_get(variables, str, varname, default_value=None) if value is not None: # We have to check if the inner string has variables # and return unmatches for those |