diff options
Diffstat (limited to 'buildstream/plugin.py')
-rw-r--r-- | buildstream/plugin.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/buildstream/plugin.py b/buildstream/plugin.py index c21ae939e..f5daf31bf 100644 --- a/buildstream/plugin.py +++ b/buildstream/plugin.py @@ -420,10 +420,9 @@ class Plugin(): """ - return _yaml.node_get_project_path(node, key, - self.__project.directory, - check_is_file=check_is_file, - check_is_dir=check_is_dir) + return self.__project.get_path_from_node(node, key, + check_is_file=check_is_file, + check_is_dir=check_is_dir) def node_validate(self, node, valid_keys): """This should be used in :func:`~buildstream.plugin.Plugin.configure` |