summaryrefslogtreecommitdiff
path: root/buildstream/element.py
diff options
context:
space:
mode:
authorTristan Maat <tm@tlater.net>2018-04-06 12:16:52 +0000
committerTristan Maat <tm@tlater.net>2018-04-06 15:01:14 +0000
commit55aedba17f8a8ac676fe18cbdd2d4b6fef202eda (patch)
tree584f4a40d8a64f656f5a4209403e17d899d1d9a7 /buildstream/element.py
parent23edfe5d961136c2a22fd4c0939bb9dc0e9e3a14 (diff)
downloadbuildstream-node-get-default.tar.gz
Allow 'None' as a default_value for _yaml.node_getnode-get-default
Diffstat (limited to 'buildstream/element.py')
-rw-r--r--buildstream/element.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/element.py b/buildstream/element.py
index 3f4f409dc..f63812f4d 100644
--- a/buildstream/element.py
+++ b/buildstream/element.py
@@ -289,7 +289,7 @@ class Element(Plugin):
return None
- def node_subst_member(self, node, member_name, default=None):
+ def node_subst_member(self, node, member_name, default=utils._sentinel):
"""Fetch the value of a string node member, substituting any variables
in the loaded value with the element contextual variables.