summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChandan Singh <csingh43@bloomberg.net>2018-05-11 01:58:48 +0100
committerChandan Singh <csingh43@bloomberg.net>2018-05-11 02:01:46 +0100
commitb2b365fbd4adfdb3e44833a30f446c2f747c9119 (patch)
tree0c8b9c5dfe7b2c480b0800dcda231cbb3acdfa46
parentedf3e029976ba0c605f5ff41bbb5568868c8f699 (diff)
downloadbuildstream-b2b365fbd4adfdb3e44833a30f446c2f747c9119.tar.gz
_project.py: Remove unused internal function _extract_plugin_paths()
For reference, this method was added in commit c41f1093d83eb32606f81005227542699f756b0a, but since commit 4912ed5f8922b47c1a16c3752eb92a3f1dea76b2 it has been unused.
-rw-r--r--buildstream/_project.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/buildstream/_project.py b/buildstream/_project.py
index 12074ab3a..5344e954e 100644
--- a/buildstream/_project.py
+++ b/buildstream/_project.py
@@ -458,11 +458,3 @@ class Project():
# paths are passed in relative to the project, but must be absolute
origin_dict['path'] = os.path.join(self.directory, origin_dict['path'])
destination.append(origin_dict)
-
- def _extract_plugin_paths(self, node, name):
- if not node:
- return
- path_list = _yaml.node_get(node, list, name, default_value=[])
- for i in range(len(path_list)):
- path = _yaml.node_get(node, str, name, indices=[i])
- yield path