diff options
author | Tina Müller <cpan2@tinita.de> | 2019-03-17 00:12:07 +0100 |
---|---|---|
committer | Tina Müller <cpan2@tinita.de> | 2019-03-17 00:12:07 +0100 |
commit | d93e5923a23309abe556f90c3d75003382e7a545 (patch) | |
tree | cf3c9298f0755b9ab3413b584d90517238920be5 | |
parent | e471e86bf6dabdad45a1438c20a4a5c033eb9034 (diff) | |
download | pyyaml-git-perlpunk/yamlobject.tar.gz |
Change default loader for YAMLObject classes to FullLoaderperlpunk/yamlobject
-rw-r--r-- | lib/yaml/__init__.py | 2 | ||||
-rw-r--r-- | lib3/yaml/__init__.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/yaml/__init__.py b/lib/yaml/__init__.py index e7a419d..946c4f3 100644 --- a/lib/yaml/__init__.py +++ b/lib/yaml/__init__.py @@ -383,7 +383,7 @@ class YAMLObject(object): __metaclass__ = YAMLObjectMetaclass __slots__ = () # no direct instantiation, so allow immutable subclasses - yaml_loader = Loader + yaml_loader = FullLoader yaml_dumper = Dumper yaml_tag = None diff --git a/lib3/yaml/__init__.py b/lib3/yaml/__init__.py index 5df0bb5..be6ac17 100644 --- a/lib3/yaml/__init__.py +++ b/lib3/yaml/__init__.py @@ -379,7 +379,7 @@ class YAMLObject(metaclass=YAMLObjectMetaclass): __slots__ = () # no direct instantiation, so allow immutable subclasses - yaml_loader = Loader + yaml_loader = FullLoader yaml_dumper = Dumper yaml_tag = None |