projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix imports and general cleanup
[youtube-dl]
/
youtube_dl
/
downloader
/
http.py
diff --git
a/youtube_dl/downloader/http.py
b/youtube_dl/downloader/http.py
index 224962e86827956b2145378b7a6cf920a02029e6..e68f20c9f46a93ebfeca2ff47dc0843f4ab94874 100644
(file)
--- a/
youtube_dl/downloader/http.py
+++ b/
youtube_dl/downloader/http.py
@@
-4,11
+4,12
@@
import os
import time
from .common import FileDownloader
import time
from .common import FileDownloader
-from ..
utils
import (
+from ..
compat
import (
compat_urllib_request,
compat_urllib_error,
compat_urllib_request,
compat_urllib_error,
+)
+from ..utils import (
ContentTooShortError,
ContentTooShortError,
-
encodeFilename,
sanitize_open,
format_bytes,
encodeFilename,
sanitize_open,
format_bytes,