소스 검색

[utils] Remove unused import

Philipp Hagemeister 10 년 전
부모
커밋
4164f0117e
2개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  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,