Loading
Remove usage of deprecated Buildstream API
In the Buildstream API, node_subst_vars and node_subst_sequence_vars were marked as deprecated 6 years ago (April 16th, 2020 5:56 PM) https://github.com/apache/buildstream/commit/e5ed02da0b99c16481eac58963f4ebbdf0481590
The methods became almost a no-op as configuration is now automatically expanded, the only thing it
does is convert a ScalerNode or SequenceNode[ScalerNode] type to str or list[str].
So I have replaced all instances of:
self.node_subst_vars(node)withnode.as_str()self.node_subst_sequence_vars(node)withnode.as_str_list()
fixes: #94 (closed)
Edited by Nathan Williams