diff options
author | Anthon van der Neut <anthon@mnt.org> | 2022-02-12 09:52:13 +0100 |
---|---|---|
committer | Anthon van der Neut <anthon@mnt.org> | 2022-02-12 09:52:13 +0100 |
commit | a9fc2e5d353e5269ee4516945aafebcc8d75c165 (patch) | |
tree | 7010986d6eb5db7381e48d2214ea71747bb7a8f6 /main.py | |
parent | 4c1519d446f8d32b1ff34ab8435a32e87ba87b92 (diff) | |
download | ruamel.yaml-a9fc2e5d353e5269ee4516945aafebcc8d75c165.tar.gz |
bug in YAML.compose(Path(...)))0.17.21
Diffstat (limited to 'main.py')
-rw-r--r-- | main.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -367,7 +367,7 @@ class YAML: if not hasattr(stream, 'read') and hasattr(stream, 'open'): # pathlib.Path() instance with stream.open('rb') as fp: - return self.load(fp) + return self.compose(fp) constructor, parser = self.get_constructor_parser(stream) try: return constructor.composer.get_single_node() |