summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2017-07-12 12:13:34 +0200
committerAnthon van der Neut <anthon@mnt.org>2017-07-12 12:13:34 +0200
commit2ea4de43fe2e0160e27b605f2c65f33c5a2083d7 (patch)
treeddd268394e9fa05011585fd326cb4f635f0510a1 /main.py
parentae5b5638efc9f20c027aac28f52dbfe0fc955998 (diff)
downloadruamel.yaml-2ea4de43fe2e0160e27b605f2c65f33c5a2083d7.tar.gz
update to flake8==3.3.0 with --ignore F405
Diffstat (limited to 'main.py')
-rw-r--r--main.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.py b/main.py
index b0f847b..fec0295 100644
--- a/main.py
+++ b/main.py
@@ -41,7 +41,7 @@ enforce = object()
# YAML is an acronym, i.e. spoken: rhymes with "camel". And thus a
-# subset of abbreviations, which should all caps according to PEP8
+# subset of abbreviations, which should be all caps according to PEP8
class YAML(object):
def __init__(self, _kw=enforce, typ=None, pure=False, plug_ins=None):
@@ -607,6 +607,7 @@ def emit(events, stream=None, Dumper=Dumper,
if getvalue is not None:
return getvalue()
+
enc = None if PY3 else 'utf-8'