summaryrefslogtreecommitdiff
path: root/buildstream/source.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildstream/source.py')
-rw-r--r--buildstream/source.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/source.py b/buildstream/source.py
index 9822beeec..6d5640532 100644
--- a/buildstream/source.py
+++ b/buildstream/source.py
@@ -794,7 +794,7 @@ class Source(Plugin):
# Save the ref in the originating file
#
try:
- _yaml.dump(_yaml.node_sanitize(provenance.toplevel), provenance.filename.name)
+ _yaml.dump(provenance.toplevel, provenance.filename.name)
except OSError as e:
raise SourceError("{}: Error saving source reference to '{}': {}"
.format(self, provenance.filename.name, e),