summaryrefslogtreecommitdiff
path: root/emitter.py
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2018-09-01 17:54:16 +0200
committerAnthon van der Neut <anthon@mnt.org>2018-09-01 17:54:16 +0200
commit79195ab05d3f1c4513e8bdd29ad0327612f1ffb5 (patch)
treedcca91c514ffc0645c59fd795d4de6d537189308 /emitter.py
parent94d2de64fbbe298365c42246e801e366aaaa9a60 (diff)
downloadruamel.yaml-79195ab05d3f1c4513e8bdd29ad0327612f1ffb5.tar.gz
add key and reverse parameter to CommentedSeq.sort()
suggested via email by Jannik Klemm
Diffstat (limited to 'emitter.py')
-rw-r--r--emitter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/emitter.py b/emitter.py
index cb9916a..5bac4ae 100644
--- a/emitter.py
+++ b/emitter.py
@@ -1366,7 +1366,7 @@ class Emitter(object):
def determine_block_hints(self, text):
# type: (Any) -> Any
indent = 0
- indicator = ''
+ indicator = u''
hints = u''
if text:
if text[0] in u' \n\x85\u2028\u2029':