diff options
author | Benjamin Schubert <ben.c.schubert@gmail.com> | 2019-06-28 17:36:33 +0100 |
---|---|---|
committer | Benjamin Schubert <ben.c.schubert@gmail.com> | 2019-07-01 22:38:54 +0100 |
commit | 0c4b6217fb2541667456cb96123363c18304b410 (patch) | |
tree | 80acc8392dae66861e7e148f1778c2aa9b20d373 /src/buildstream/element.py | |
parent | be5ee63758654ebfc6da169ada2ba65e3af33d60 (diff) | |
download | buildstream-0c4b6217fb2541667456cb96123363c18304b410.tar.gz |
_yaml: remove node_sanitizebschubert/node-api-nosanitize
Some call places do not need calls to 'node_sanitize' anymore, therefore
removing the call entirely.
Other still use it for convenience, but that doesn't seem the right way
to do it for consistency. Those places have been replaced by calls to
'Node.strip_node_info()'.
Diffstat (limited to 'src/buildstream/element.py')
-rw-r--r-- | src/buildstream/element.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildstream/element.py b/src/buildstream/element.py index 581fe725f..c2e4b9105 100644 --- a/src/buildstream/element.py +++ b/src/buildstream/element.py @@ -883,7 +883,7 @@ class Element(Plugin): (dict): A dictionary of string key/values suitable for passing to :func:`Sandbox.run() <buildstream.sandbox.Sandbox.run>` """ - return _yaml.node_sanitize(self.__environment) + return self.__environment def get_variable(self, varname): """Fetch the value of a variable resolved for this element. |