summaryrefslogtreecommitdiff
path: root/loader.py
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2016-07-07 11:30:28 +0200
committerAnthon van der Neut <anthon@mnt.org>2016-07-07 11:30:28 +0200
commit583fd4084bea7b3052557d7682352bcb8c207a9b (patch)
treeba0e01f202d164784f7c68a1dcf3de6cd5735411 /loader.py
parentbf749f8ac5ac0cbe107cdd55a086cafd1f4b5cf4 (diff)
downloadruamel.yaml-583fd4084bea7b3052557d7682352bcb8c207a9b.tar.gz
quick fix for issue 380.11.14
Diffstat (limited to 'loader.py')
-rw-r--r--loader.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/loader.py b/loader.py
index e0a53bb..b5ba20a 100644
--- a/loader.py
+++ b/loader.py
@@ -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)