diff options
author | Anthon van der Neut <anthon@mnt.org> | 2016-07-07 11:30:28 +0200 |
---|---|---|
committer | Anthon van der Neut <anthon@mnt.org> | 2016-07-07 11:30:28 +0200 |
commit | 583fd4084bea7b3052557d7682352bcb8c207a9b (patch) | |
tree | ba0e01f202d164784f7c68a1dcf3de6cd5735411 /loader.py | |
parent | bf749f8ac5ac0cbe107cdd55a086cafd1f4b5cf4 (diff) | |
download | ruamel.yaml-583fd4084bea7b3052557d7682352bcb8c207a9b.tar.gz |
quick fix for issue 380.11.14
Diffstat (limited to 'loader.py')
-rw-r--r-- | loader.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -21,7 +21,7 @@ except (ImportError, ValueError): # for Jython class BaseLoader(Reader, Scanner, Parser, Composer, BaseConstructor, BaseResolver): - def __init__(self, stream, version=None): + def __init__(self, stream, version=None, preserve_quotes=None): Reader.__init__(self, stream) Scanner.__init__(self) Parser.__init__(self) @@ -31,7 +31,7 @@ class BaseLoader(Reader, Scanner, Parser, Composer, BaseConstructor, BaseResolve class SafeLoader(Reader, Scanner, Parser, Composer, SafeConstructor, Resolver): - def __init__(self, stream, version=None): + def __init__(self, stream, version=None, preserve_quotes=None): Reader.__init__(self, stream) Scanner.__init__(self) Parser.__init__(self) @@ -41,7 +41,7 @@ class SafeLoader(Reader, Scanner, Parser, Composer, SafeConstructor, Resolver): class Loader(Reader, Scanner, Parser, Composer, Constructor, Resolver): - def __init__(self, stream, version=None): + def __init__(self, stream, version=None, preserve_quotes=None): Reader.__init__(self, stream) Scanner.__init__(self) Parser.__init__(self) |