diff options
author | Anthon van der Neut <anthon@mnt.org> | 2018-08-18 12:46:39 +0200 |
---|---|---|
committer | Anthon van der Neut <anthon@mnt.org> | 2018-08-18 12:46:39 +0200 |
commit | c0f02842ced2240ec35315b0b88c775ae5423be9 (patch) | |
tree | 5ec77311b0abcbbd1b188e745cce688d1548372b /nodes.py | |
parent | a14b9f18f48a8151650ebcac34f812a6b5e5eb63 (diff) | |
download | ruamel.yaml-c0f02842ced2240ec35315b0b88c775ae5423be9.tar.gz |
fix issue #219 breakage on single entry map as flow sequence element0.15.60
*When this change indeed resolves your problem, please **Close** this issue*.
*(You can do so using the WorkFlow pull-down (close to the top right of this page))*
Diffstat (limited to 'nodes.py')
-rw-r--r-- | nodes.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -51,7 +51,8 @@ class Node(object): sys.stdout.write(' {}comment: {})\n'.format(' ' * indent, self.comment)) return sys.stdout.write( - '{}{}(tag={!r})\n'.format(' ' * indent, self.__class__.__name__, self.tag)) + '{}{}(tag={!r})\n'.format(' ' * indent, self.__class__.__name__, self.tag) + ) if self.comment: sys.stdout.write(' {}comment: {})\n'.format(' ' * indent, self.comment)) for v in self.value: |