summaryrefslogtreecommitdiff
path: root/src/buildstream/plugins/sources/local.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildstream/plugins/sources/local.py')
-rw-r--r--src/buildstream/plugins/sources/local.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildstream/plugins/sources/local.py b/src/buildstream/plugins/sources/local.py
index fba8af604..ff0cf1679 100644
--- a/src/buildstream/plugins/sources/local.py
+++ b/src/buildstream/plugins/sources/local.py
@@ -54,7 +54,7 @@ class LocalSource(Source):
self.__unique_key = None
def configure(self, node):
- self.node_validate(node, ['path', *Source.COMMON_CONFIG_KEYS])
+ node.validate_keys(['path', *Source.COMMON_CONFIG_KEYS])
self.path = self.node_get_project_path(node, 'path')
self.fullpath = os.path.join(self.get_project_directory(), self.path)