summaryrefslogtreecommitdiff
path: root/src/buildstream/testing/_utils/junction.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildstream/testing/_utils/junction.py')
-rw-r--r--src/buildstream/testing/_utils/junction.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildstream/testing/_utils/junction.py b/src/buildstream/testing/_utils/junction.py
index 2bf53ac7c..98d23b0a2 100644
--- a/src/buildstream/testing/_utils/junction.py
+++ b/src/buildstream/testing/_utils/junction.py
@@ -34,7 +34,7 @@ def generate_junction(tmpdir, subproject_path, junction_path, *, store_ref=True)
repo.source_config(ref=source_ref)
]
}
- _yaml.dump(element, junction_path)
+ _yaml.roundtrip_dump(element, junction_path)
return ref