diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-07-12 18:47:46 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-07-12 18:47:46 +0900 |
commit | dd15b1ba494c4725fd452b6723ff799d1708830c (patch) | |
tree | b6b64a1a642360cc6c2e1b1cc6de94e60a4f9b0a | |
parent | c0b501968d220b8e967f62dc13293295847aa527 (diff) | |
download | buildstream-dd15b1ba494c4725fd452b6723ff799d1708830c.tar.gz |
_yaml.py: Fixed node_copy()
Jonathan Maw caught this bug, we were forgetting to transport
the regular values to the new copied dictionary here.
-rw-r--r-- | buildstream/_yaml.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/buildstream/_yaml.py b/buildstream/_yaml.py index c8151d501..06a806075 100644 --- a/buildstream/_yaml.py +++ b/buildstream/_yaml.py @@ -613,6 +613,8 @@ def node_copy(source): copy[key] = list_copy(value) elif isinstance(value, Provenance): copy[key] = value.clone() + else: + copy[key] = value ensure_provenance(copy) |