diff options
author | Anthon van der Neut <anthon@mnt.org> | 2018-11-21 09:40:46 +0100 |
---|---|---|
committer | Anthon van der Neut <anthon@mnt.org> | 2018-11-21 09:40:46 +0100 |
commit | 06d22dfdbdf9bac2d3443be3e57f17ac21798eaa (patch) | |
tree | b40e8f63446a9a2d0c47bf74b9087eb935ecc3a7 /constructor.py | |
parent | f674cbd0e04dcd3c09545a1ae75a80c6c8d3f3e2 (diff) | |
download | ruamel.yaml-06d22dfdbdf9bac2d3443be3e57f17ac21798eaa.tar.gz |
resolves issue with anchors specified deeper in the data structure than aliases0.15.79
Diffstat (limited to 'constructor.py')
-rw-r--r-- | constructor.py | 2 |
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): |