summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2017-09-01 09:42:20 +0200
committerAnthon van der Neut <anthon@mnt.org>2017-09-01 09:42:20 +0200
commit637c6a71fd77756f7871f437ae348ff69f8e9529 (patch)
tree36295bf9c026369ab495c482647f24987c3946c1 /main.py
parentd5cd1252a677c2256cf23c6e6aec63aef8f6e6a6 (diff)
downloadruamel.yaml-637c6a71fd77756f7871f437ae348ff69f8e9529.tar.gz
fix issue #154: indent on non-pure dumping not working
Diffstat (limited to 'main.py')
-rw-r--r--main.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.py b/main.py
index 426b313..1b5c2d0 100644
--- a/main.py
+++ b/main.py
@@ -444,6 +444,7 @@ class YAML(object):
self._stream = stream
dumper = XDumper(stream, default_style=self.default_style,
default_flow_style=self.default_flow_style,
+ canonical=self.canonical, indent=self.old_indent, width=self.width,
allow_unicode=self.allow_unicode, line_break=self.line_break,
explicit_start=self.explicit_start,
explicit_end=self.explicit_end,