summaryrefslogtreecommitdiff
path: root/reader.py
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2016-02-27 10:15:02 +0100
committerAnthon van der Neut <anthon@mnt.org>2016-02-27 10:15:02 +0100
commit2f9cdc98cc0adea615cb2180481c7780eef48f97 (patch)
treeff710ad0913ced7c241f0445e95e6eefeb24ae1b /reader.py
parentacc0b296466c5364569b1df8402d2cb95ca01915 (diff)
downloadruamel.yaml-2f9cdc98cc0adea615cb2180481c7780eef48f97.tar.gz
pep8 compliance, util.load_yaml_guess_indent0.11.2
Diffstat (limited to 'reader.py')
-rw-r--r--reader.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/reader.py b/reader.py
index da98874..376c6de 100644
--- a/reader.py
+++ b/reader.py
@@ -1,3 +1,5 @@
+# coding: utf-8
+
from __future__ import absolute_import
# This module contains abstractions for the input stream. You don't have to
# looks further, there are no pretty code.
@@ -18,8 +20,6 @@ from __future__ import absolute_import
# reader.line, stream.column - the line and the column of the current
# character.
-__all__ = ['Reader', 'ReaderError']
-
import codecs
import re
@@ -30,6 +30,8 @@ except (ImportError, ValueError): # for Jython
from ruamel.yaml.error import YAMLError, Mark
from ruamel.yaml.compat import text_type, binary_type, PY3
+__all__ = ['Reader', 'ReaderError']
+
class ReaderError(YAMLError):