diff options
author | Benjamin Schubert <ben.c.schubert@gmail.com> | 2019-06-28 17:06:43 +0100 |
---|---|---|
committer | bst-marge-bot <marge-bot@buildstream.build> | 2019-07-15 14:14:03 +0000 |
commit | 06faf60f47d270bc9ce3c6945c31861302882ae9 (patch) | |
tree | 562e44a3168f8593dafe890c653f410b302de56f /src/buildstream/_artifact.py | |
parent | f7b461220ec2f1af3966ace12c21334f1f3b6457 (diff) | |
download | buildstream-06faf60f47d270bc9ce3c6945c31861302882ae9.tar.gz |
_yaml: Decomission 'dump()'. 'roundtrip_dump' is an equivalent function now
Remove completely '_yaml.dump()' and replace all notions and call by
'roundtrip_dump'
Diffstat (limited to 'src/buildstream/_artifact.py')
-rw-r--r-- | src/buildstream/_artifact.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildstream/_artifact.py b/src/buildstream/_artifact.py index ec574e335..4e7fa4911 100644 --- a/src/buildstream/_artifact.py +++ b/src/buildstream/_artifact.py @@ -147,7 +147,7 @@ class Artifact(): # Store public data with utils._tempnamedfile_name(dir=self._tmpdir) as tmpname: - _yaml.dump(publicdata, tmpname) + _yaml.roundtrip_dump(publicdata, tmpname) public_data_digest = self._cas.add_object(path=tmpname, link_directly=True) artifact.public_data.CopyFrom(public_data_digest) size += public_data_digest.size_bytes |