diff options
author | Benjamin Schubert <ben.c.schubert@gmail.com> | 2019-06-13 20:21:48 +0100 |
---|---|---|
committer | bst-marge-bot <marge-bot@buildstream.build> | 2019-07-15 14:14:02 +0000 |
commit | 57f9715874ffaf92b8125b07a3a88415cda02baa (patch) | |
tree | 1f4eb1a10648e61348da433a8920dd4a289b4a3b /src/buildstream/element.py | |
parent | eafcee4b97504f1bb65c8a62439a25e38d0e6137 (diff) | |
download | buildstream-57f9715874ffaf92b8125b07a3a88415cda02baa.tar.gz |
element: Remove `node_get_member` and all references to it
This can now be done more easily with the Node api
Diffstat (limited to 'src/buildstream/element.py')
-rw-r--r-- | src/buildstream/element.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/buildstream/element.py b/src/buildstream/element.py index 16c0b3967..bd42c45b8 100644 --- a/src/buildstream/element.py +++ b/src/buildstream/element.py @@ -502,10 +502,6 @@ class Element(Plugin): Raises: :class:`.LoadError`: When *member_name* is not found and no *default* was provided - This is essentially the same as :func:`~buildstream.plugin.Plugin.node_get_member` - except that it assumes the expected type is a string and will also perform variable - substitutions. - **Example:** .. code:: python @@ -534,9 +530,6 @@ class Element(Plugin): Raises: :class:`.LoadError` - This is essentially the same as :func:`~buildstream.plugin.Plugin.node_get_member` - except that it assumes the expected type is a list of strings and will also - perform variable substitutions. """ value = self.node_get_member(node, list, member_name) ret = [] |