From c0f02842ced2240ec35315b0b88c775ae5423be9 Mon Sep 17 00:00:00 2001 From: Anthon van der Neut Date: Sat, 18 Aug 2018 12:46:39 +0200 Subject: fix issue #219 breakage on single entry map as flow sequence element *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))* --- nodes.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'nodes.py') diff --git a/nodes.py b/nodes.py index 0c39abd..0a35752 100644 --- a/nodes.py +++ b/nodes.py @@ -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: -- cgit v1.2.1