summaryrefslogtreecommitdiff
path: root/serializer.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 /serializer.py
parent0da1ffde8bf06a1c84693a431aa3de5b02e767b6 (diff)
downloadruamel.yaml-438db3b9b29e997a6fc2674c95a2c76192b5a567.tar.gz
initial type info, drop 2.60.12.0
Diffstat (limited to 'serializer.py')
-rw-r--r--serializer.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/serializer.py b/serializer.py
index 60dd517..d769b9c 100644
--- a/serializer.py
+++ b/serializer.py
@@ -4,12 +4,8 @@ from __future__ import absolute_import
import re
-try:
- from .error import YAMLError
- from .compat import nprint, DBG_NODE, dbg, string_types
-except (ImportError, ValueError): # for Jython
- from ruamel.yaml.error import YAMLError
- from ruamel.yaml.compat import nprint, DBG_NODE, dbg, string_types
+from ruamel.yaml.error import YAMLError
+from ruamel.yaml.compat import nprint, DBG_NODE, dbg, string_types
from ruamel.yaml.events import (
StreamStartEvent, StreamEndEvent, MappingStartEvent, MappingEndEvent,