summaryrefslogtreecommitdiff
path: root/scalarstring.py
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2018-08-09 08:34:41 +0200
committerAnthon van der Neut <anthon@mnt.org>2018-08-09 08:34:41 +0200
commitab28d38e95b2ae8871c1f68ff3a690cf360ce60a (patch)
tree0a6ac735c227b12b33b8a4a8dc2599d8c559a78b /scalarstring.py
parentc2d45fe4a14cb67f52b04bf8c82c39aac74eece6 (diff)
downloadruamel.yaml-ab28d38e95b2ae8871c1f68ff3a690cf360ce60a.tar.gz
fix issue #196 loosing items on cast to dict0.15.52
*When this change indeed resolves your problem, please **Close** this issue*. *(You can do so usingthe WorkFlow pull-down (close to the top right of this page)*
Diffstat (limited to 'scalarstring.py')
-rw-r--r--scalarstring.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scalarstring.py b/scalarstring.py
index ef283d2..822ae83 100644
--- a/scalarstring.py
+++ b/scalarstring.py
@@ -28,7 +28,7 @@ class ScalarString(text_type):
class PreservedScalarString(ScalarString):
- __slots__ = ('comment') # the comment after the | on the first line
+ __slots__ = 'comment' # the comment after the | on the first line
style = '|'