diff options
author | bst-marge-bot <marge-bot@buildstream.build> | 2019-10-16 14:16:39 +0000 |
---|---|---|
committer | bst-marge-bot <marge-bot@buildstream.build> | 2019-10-16 14:16:39 +0000 |
commit | 3ab6c57088f98acf69545cdc8c2ad393378ffb38 (patch) | |
tree | ca9fa2f46188660f4e3d7dd4c105280a661746a3 /src/buildstream/buildelement.py | |
parent | c6a7f43535138f86acd9e3c800618363be5b8e93 (diff) | |
parent | 0953d36cedb3ff1e6903ffefb49e1504bf3c7231 (diff) | |
download | buildstream-3ab6c57088f98acf69545cdc8c2ad393378ffb38.tar.gz |
Merge branch 'bschubert/yaml-tidying' into 'master'
Some tidying up of our yaml API
See merge request BuildStream/buildstream!1644
Diffstat (limited to 'src/buildstream/buildelement.py')
-rw-r--r-- | src/buildstream/buildelement.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buildstream/buildelement.py b/src/buildstream/buildelement.py index b33acfe12..7fe97c168 100644 --- a/src/buildstream/buildelement.py +++ b/src/buildstream/buildelement.py @@ -281,9 +281,9 @@ class BuildElement(Element): # Private Local Methods # ############################################################# def __get_commands(self, node, name): - raw_commands = node.get_str_list(name, []) + raw_commands = node.get_sequence(name, []) return [ - self.substitute_variables(command) + self.node_subst_vars(command) for command in raw_commands ] |