From 903a4ae71d6bf3c63e4244014ea69644ee91253b Mon Sep 17 00:00:00 2001 From: Johan Andersson Date: Tue, 30 Jan 2018 22:09:31 +0100 Subject: [PATCH] No need for utils.io --- lib/svtplay_dl/subtitle/__init__.py | 3 ++- lib/svtplay_dl/utils/io.py | 10 ---------- 2 files changed, 2 insertions(+), 11 deletions(-) delete mode 100644 lib/svtplay_dl/utils/io.py diff --git a/lib/svtplay_dl/subtitle/__init__.py b/lib/svtplay_dl/subtitle/__init__.py index 7fdbc03..cbe17dd 100644 --- a/lib/svtplay_dl/subtitle/__init__.py +++ b/lib/svtplay_dl/subtitle/__init__.py @@ -1,9 +1,10 @@ import xml.etree.ElementTree as ET import json import re +from io import StringIO + from svtplay_dl.log import log from svtplay_dl.utils import decode_html_entities, HTTP -from svtplay_dl.utils.io import StringIO from svtplay_dl.output import output from requests import __build__ as requests_version import platform diff --git a/lib/svtplay_dl/utils/io.py b/lib/svtplay_dl/utils/io.py deleted file mode 100644 index db5509b..0000000 --- a/lib/svtplay_dl/utils/io.py +++ /dev/null @@ -1,10 +0,0 @@ -# ex:ts=4:sw=4:sts=4:et -# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- - -# Pylint does not seem to handle conditional imports -# pylint: disable=F0401 -# pylint: disable=W0611 -# pylint: disable=E0611 - -from __future__ import absolute_import -from io import StringIO \ No newline at end of file