summaryrefslogtreecommitdiff
path: root/emitter.py
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2018-08-05 13:39:30 +0200
committerAnthon van der Neut <anthon@mnt.org>2018-08-05 13:39:30 +0200
commit30d97ce8eb9085cff432e89360e8b377cb81f3be (patch)
tree94743515987ea3308eb5e98d74c4ec7979cb9b22 /emitter.py
parentdea3d69d7f66a3a6b644ca14e5cd4f807ab60161 (diff)
downloadruamel.yaml-30d97ce8eb9085cff432e89360e8b377cb81f3be.tar.gz
mypy lagging again...
Diffstat (limited to 'emitter.py')
-rw-r--r--emitter.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/emitter.py b/emitter.py
index a75fa52..e45a0b1 100644
--- a/emitter.py
+++ b/emitter.py
@@ -1335,7 +1335,7 @@ class Emitter(object):
def determine_block_hints(self, text):
# type: (Any) -> Any
- hints = ""
+ hints = u""
if text:
if not self.root_context and text[0] in u' \n\x85\u2028\u2029':
hints += text_type(self.best_sequence_indent)
@@ -1405,7 +1405,7 @@ class Emitter(object):
end += 1
def write_literal(self, text, comment=None):
- # type: (Any) -> None
+ # type: (Any, Any) -> None
hints = self.determine_block_hints(text)
self.write_indicator(u'|' + hints, True)
try: