diff options
author | Jonathan Maw <jonathan.maw@codethink.co.uk> | 2017-11-13 12:59:09 +0000 |
---|---|---|
committer | Jonathan Maw <jonathan.maw@codethink.co.uk> | 2017-11-14 13:03:50 +0000 |
commit | c92746c0092edd63e7c714dce71b78bbe59499e1 (patch) | |
tree | 0abb0c5438853faf3e263f13f24ae64ac5748767 /tests | |
parent | e46be24abfbb3ed00d2bdad67ba86749f3b0f03d (diff) | |
download | buildstream-c92746c0092edd63e7c714dce71b78bbe59499e1.tar.gz |
Make node_subst_member pass default values as positional args
Diffstat (limited to 'tests')
-rw-r--r-- | tests/project/data/plugins/elements/custom.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/project/data/plugins/elements/custom.py b/tests/project/data/plugins/elements/custom.py index 97379316c..e27e859e5 100644 --- a/tests/project/data/plugins/elements/custom.py +++ b/tests/project/data/plugins/elements/custom.py @@ -6,7 +6,7 @@ class CustomElement(Element): def configure(self, node): print("Element Data: %s" % node) self.node_validate(node, ['configuration']) - self.configuration = self.node_subst_member(node, "configuration", default_value='') + self.configuration = self.node_subst_member(node, "configuration", '') def preflight(self): pass |