diff options
-rw-r--r-- | buildstream/source.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/source.py b/buildstream/source.py index d58bfe2a3..24acb686b 100644 --- a/buildstream/source.py +++ b/buildstream/source.py @@ -752,7 +752,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), |