diff options
author | Benjamin Schubert <contact@benschubert.me> | 2019-06-18 11:05:52 +0100 |
---|---|---|
committer | bst-marge-bot <marge-bot@buildstream.build> | 2019-07-15 14:14:03 +0000 |
commit | 8bfe8dd6ad49445c900662f304072eb20f0ff606 (patch) | |
tree | 07e04ff71c848692acb8f0f2d866449672fe0031 /src/buildstream/sandbox/_sandboxremote.py | |
parent | 1aa0fb1fefa7e86586831a13200a92f6dd9bd3b4 (diff) | |
download | buildstream-8bfe8dd6ad49445c900662f304072eb20f0ff606.tar.gz |
_yaml: Remove 'node_set'. Now use __setitem__
- Implement __setitem__ on 'MappingNode'
- Implement __setitem__ on 'SequenceNode'
- Adapt all call sites to use the new calling way.
Diffstat (limited to 'src/buildstream/sandbox/_sandboxremote.py')
-rw-r--r-- | src/buildstream/sandbox/_sandboxremote.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildstream/sandbox/_sandboxremote.py b/src/buildstream/sandbox/_sandboxremote.py index 965aea155..b1e5ab7e2 100644 --- a/src/buildstream/sandbox/_sandboxremote.py +++ b/src/buildstream/sandbox/_sandboxremote.py @@ -173,7 +173,7 @@ class SandboxRemote(Sandbox): for tls_key in tls_keys: if tls_key in config: - _yaml.node_set(config, tls_key, resolve_path(config.get_str(tls_key))) + config[tls_key] = resolve_path(config.get_str(tls_key)) return RemoteExecutionSpec(*[_yaml.node_sanitize(conf) for conf in service_configs]) |