diff options
author | Anthon van der Neut <anthon@mnt.org> | 2017-06-27 11:52:49 +0200 |
---|---|---|
committer | Anthon van der Neut <anthon@mnt.org> | 2017-06-27 11:52:49 +0200 |
commit | 226b75e4a2566618a31cbfb4abbc9a2ffed002b1 (patch) | |
tree | 76896d6e0465fd15a7b0521784dc7a259b1c0f58 /main.py | |
parent | 11df934dd3581f0bb7be8a9d4af3c1dd2559e6be (diff) | |
download | ruamel.yaml-226b75e4a2566618a31cbfb4abbc9a2ffed002b1.tar.gz |
Use selected Representer/Resolver with C dump0.15.15
Fix issue #135
Please close this issue if you can confirm it solves the reported problem
Diffstat (limited to 'main.py')
-rw-r--r-- | main.py | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -419,9 +419,10 @@ class YAML(object): explicit_end=explicit_end, version=version, tags=tags) selfx._emitter = selfx._serializer = selfx._representer = selfx - Representer.__init__(selfx, default_style=default_style, - default_flow_style=default_flow_style) - Resolver.__init__(selfx) + print(type(selfx), self.Representer, rslvr) + self.Representer.__init__(selfx, default_style=default_style, + default_flow_style=default_flow_style) + rslvr.__init__(selfx) self._stream = stream dumper = XDumper(stream) self._emitter = self._serializer = dumper |