From: Philipp Hagemeister Date: Tue, 4 Nov 2014 22:51:01 +0000 (+0100) Subject: [utils] Remove unused import X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=4164f0117ece057a84e67df2239b7fdaa69e27a7;p=youtube-dl [utils] Remove unused import --- diff --git a/youtube_dl/extractor/grooveshark.py b/youtube_dl/extractor/grooveshark.py index 726adff77..fff74a70a 100644 --- a/youtube_dl/extractor/grooveshark.py +++ b/youtube_dl/extractor/grooveshark.py @@ -8,12 +8,13 @@ import re from .common import InfoExtractor -from ..utils import ExtractorError, compat_urllib_request, compat_html_parser - -from ..utils import ( +from ..compat import ( + compat_html_parser, compat_urllib_parse, + compat_urllib_request, compat_urlparse, ) +from ..utils import ExtractorError class GroovesharkHtmlParser(compat_html_parser.HTMLParser): diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py index 7c0fb1592..d87e212ae 100644 --- a/youtube_dl/utils.py +++ b/youtube_dl/utils.py @@ -34,7 +34,6 @@ from .compat import ( compat_chr, compat_getenv, compat_html_entities, - compat_html_parser, compat_parse_qs, compat_str, compat_urllib_error,