diff options
author | Anthon van der Neut <anthon@mnt.org> | 2020-01-20 19:45:23 +0100 |
---|---|---|
committer | Anthon van der Neut <anthon@mnt.org> | 2020-01-20 19:45:23 +0100 |
commit | 095d64ed47887b12a59936e1a11b27641bcaf63c (patch) | |
tree | 0f37287b88b31d7b68b85767874444eaf0015831 /constructor.py | |
parent | 245f5a1667033634d4069ee48b7d6915489148fd (diff) | |
download | ruamel.yaml-0.16.6.tar.gz |
correct empty string mapping key rt0.16.6
Diffstat (limited to 'constructor.py')
-rw-r--r-- | constructor.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/constructor.py b/constructor.py index 758daca..2280d4f 100644 --- a/constructor.py +++ b/constructor.py @@ -959,7 +959,7 @@ class Constructor(SafeConstructor): elif state: slotstate.update(state) for key, value in slotstate.items(): - setattr(object, key, value) + setattr(instance, key, value) def construct_python_object(self, suffix, node): # type: (Any, Any) -> Any |