Commit b2b365fb authored by Chandan Singh's avatar Chandan Singh

_project.py: Remove unused internal function _extract_plugin_paths()

For reference, this method was added in
commit c41f1093, but since
commit 4912ed5f it has been unused.
parent edf3e029
Pipeline #21849593 failed with stages
in 12 minutes and 41 seconds
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment