summaryrefslogtreecommitdiff
path: root/src/buildstream/plugin.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildstream/plugin.py')
-rw-r--r--src/buildstream/plugin.py16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/buildstream/plugin.py b/src/buildstream/plugin.py
index 92e52504d..ac7b0948e 100644
--- a/src/buildstream/plugin.py
+++ b/src/buildstream/plugin.py
@@ -346,22 +346,6 @@ class Plugin():
"""
return self.__kind
- def node_provenance(self, node, member_name=None):
- """Gets the provenance for `node` and `member_name`
-
- This reports a string with file, line and column information suitable
- for reporting an error or warning.
-
- Args:
- node (Node): The YAML loaded dictionary object
- member_name (str): The name of the member to check, or None for the node itself
-
- Returns:
- (str): A string describing the provenance of the node and member
- """
- provenance = node.get_node(member_name).get_provenance()
- return str(provenance)
-
def node_get_project_path(self, node, *,
check_is_file=False, check_is_dir=False):
"""Fetches a project path from a dictionary node and validates it