Explorar o código

[utils] Remove unused import

Philipp Hagemeister %!s(int64=10) %!d(string=hai) anos
pai
achega
4164f0117e
Modificáronse 2 ficheiros con 4 adicións e 4 borrados
  1. 4 3
      youtube_dl/extractor/grooveshark.py
  2. 0 1
      youtube_dl/utils.py

+ 4 - 3
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):

+ 0 - 1
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,