diff options
author | Anthon van der Neut <anthon@mnt.org> | 2018-08-05 13:39:30 +0200 |
---|---|---|
committer | Anthon van der Neut <anthon@mnt.org> | 2018-08-05 13:39:30 +0200 |
commit | 30d97ce8eb9085cff432e89360e8b377cb81f3be (patch) | |
tree | 94743515987ea3308eb5e98d74c4ec7979cb9b22 /constructor.py | |
parent | dea3d69d7f66a3a6b644ca14e5cd4f807ab60161 (diff) | |
download | ruamel.yaml-30d97ce8eb9085cff432e89360e8b377cb81f3be.tar.gz |
mypy lagging again...
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 c830580..c36f01d 100644 --- a/constructor.py +++ b/constructor.py @@ -981,7 +981,7 @@ class RoundTripConstructor(SafeConstructor): if node.style == '|' and isinstance(node.value, text_type): pss = PreservedScalarString(node.value) if node.comment and node.comment[1]: - pss.comment = node.comment[1][0] + pss.comment = node.comment[1][0] # type: ignore return pss elif bool(self._preserve_quotes) and isinstance(node.value, text_type): if node.style == "'": |