summaryrefslogtreecommitdiff
path: root/reader.py
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2016-08-15 22:46:12 +0200
committerAnthon van der Neut <anthon@mnt.org>2016-08-15 22:46:12 +0200
commit438db3b9b29e997a6fc2674c95a2c76192b5a567 (patch)
treec16dc7d660b8d62862564fa669377623adb3a159 /reader.py
parent0da1ffde8bf06a1c84693a431aa3de5b02e767b6 (diff)
downloadruamel.yaml-438db3b9b29e997a6fc2674c95a2c76192b5a567.tar.gz
initial type info, drop 2.60.12.0
Diffstat (limited to 'reader.py')
-rw-r--r--reader.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/reader.py b/reader.py
index 376c6de..bbd58a9 100644
--- a/reader.py
+++ b/reader.py
@@ -23,12 +23,8 @@ from __future__ import absolute_import
import codecs
import re
-try:
- from .error import YAMLError, Mark
- from .compat import text_type, binary_type, PY3
-except (ImportError, ValueError): # for Jython
- from ruamel.yaml.error import YAMLError, Mark
- from ruamel.yaml.compat import text_type, binary_type, PY3
+from ruamel.yaml.error import YAMLError, Mark
+from ruamel.yaml.compat import text_type, binary_type, PY3
__all__ = ['Reader', 'ReaderError']