summaryrefslogtreecommitdiff
path: root/src/buildstream/buildelement.py
diff options
context:
space:
mode:
authorBenjamin Schubert <ben.c.schubert@gmail.com>2019-07-03 18:01:30 +0100
committerbst-marge-bot <marge-bot@buildstream.build>2019-07-15 14:14:03 +0000
commit8c9f41922ad16f8a031ac612bb35e493e8581380 (patch)
treecebc4afe2d0238033362905a99400d4d2824d7dc /src/buildstream/buildelement.py
parentd8466183f77c75bbd7ad27c7cbf5e58189945be1 (diff)
downloadbuildstream-8c9f41922ad16f8a031ac612bb35e493e8581380.tar.gz
_yaml: Remove 'node_validate' and replace by 'MappingNode.validate_keys'
- adapt all call sites to use the new API
Diffstat (limited to 'src/buildstream/buildelement.py')
-rw-r--r--src/buildstream/buildelement.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildstream/buildelement.py b/src/buildstream/buildelement.py
index 48be1b83a..b79876843 100644
--- a/src/buildstream/buildelement.py
+++ b/src/buildstream/buildelement.py
@@ -169,7 +169,7 @@ class BuildElement(Element):
# FIXME: Currently this forcefully validates configurations
# for all BuildElement subclasses so they are unable to
# extend the configuration
- self.node_validate(node, _command_steps)
+ node.validate_keys(_command_steps)
for command_name in _legacy_command_steps:
if command_name in _command_steps: