| commit | dd15b1ba494c4725fd452b6723ff799d1708830c | [log] [tgz] |
|---|---|---|
| author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | Wed Jul 12 18:47:46 2017 +0900 |
| committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | Wed Jul 12 18:47:46 2017 +0900 |
| tree | b6b64a1a642360cc6c2e1b1cc6de94e60a4f9b0a | |
| parent | c0b501968d220b8e967f62dc13293295847aa527 [diff] |
_yaml.py: Fixed node_copy() Jonathan Maw caught this bug, we were forgetting to transport the regular values to the new copied dictionary here.
diff --git a/buildstream/_yaml.py b/buildstream/_yaml.py index c8151d5..06a8060 100644 --- a/buildstream/_yaml.py +++ b/buildstream/_yaml.py
@@ -613,6 +613,8 @@ copy[key] = list_copy(value) elif isinstance(value, Provenance): copy[key] = value.clone() + else: + copy[key] = value ensure_provenance(copy)