summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2017-08-06 09:07:30 +0200
committerAnthon van der Neut <anthon@mnt.org>2017-08-06 09:07:30 +0200
commitbe4502b57ac2203e3ad075b18a5a94f87dfcf8dc (patch)
tree8a2f90f0b707858b877c76af392cf625be4031ca /main.py
parentc93c3cd9efdebd72873655494fc695b9c65858eb (diff)
downloadruamel.yaml-be4502b57ac2203e3ad075b18a5a94f87dfcf8dc.tar.gz
more float stuff and mypy changes
Diffstat (limited to 'main.py')
-rw-r--r--main.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.py b/main.py
index 35bcdcf..949191d 100644
--- a/main.py
+++ b/main.py
@@ -383,10 +383,10 @@ class YAML(object):
delattr(self, "_serializer")
delattr(self, "_emitter")
if transform:
- val = stream.getvalue()
+ val = stream.getvalue() # type: ignore
if self.encoding:
val = val.decode(self.encoding)
- fstream.write(transform(val)) # type: ignore
+ fstream.write(transform(val))
return None
def get_serializer_representer_emitter(self, stream, tlca):