projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
289bbb3
)
Merge pull request #6372 from raphaelm/patch-1
author
Sergey M.
<dstftw@gmail.com>
Tue, 28 Jul 2015 20:46:53 +0000
(
02:46
+0600)
committer
Sergey M.
<dstftw@gmail.com>
Tue, 28 Jul 2015 20:46:53 +0000
(
02:46
+0600)
Remove redundant (and wrong) class parameters
youtube_dl/utils.py
patch
|
blob
|
history
diff --git
a/youtube_dl/utils.py
b/youtube_dl/utils.py
index ae813099dded05c15ed57d27e51be7704e778520..88f9f90707fbd04966638125e94b264af95fedcb 100644
(file)
--- a/
youtube_dl/utils.py
+++ b/
youtube_dl/utils.py
@@
-576,11
+576,9
@@
class ContentTooShortError(Exception):
download is too small for what the server announced first, indicating
the connection was probably interrupted.
"""
- # Both in bytes
- downloaded = None
- expected = None
def __init__(self, downloaded, expected):
+ # Both in bytes
self.downloaded = downloaded
self.expected = expected