summaryrefslogtreecommitdiff
path: root/constructor.py
diff options
context:
space:
mode:
Diffstat (limited to 'constructor.py')
-rw-r--r--constructor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/constructor.py b/constructor.py
index bf484e1..09c55dd 100644
--- a/constructor.py
+++ b/constructor.py
@@ -1505,7 +1505,7 @@ class RoundTripConstructor(SafeConstructor):
data = CommentedMap()
data._yaml_set_line_col(node.start_mark.line, node.start_mark.column)
yield data
- self.construct_mapping(node, data)
+ self.construct_mapping(node, data, deep=True)
self.set_collection_style(data, node)
def set_collection_style(self, data, node):