aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorRaphael Michel <mail@raphaelmichel.de>2015-07-26 16:37:51 +0200
committerRaphael Michel <mail@raphaelmichel.de>2015-07-26 16:37:51 +0200
commit2c7ed247967f3563d26879f2206e0f54dfdf9b23 (patch)
treed42b699e2c00ade139f5b1956e57457809cc5cfc /youtube_dl
parent4c6bd5b5b61adfd912e14f8d704fde47628d164e (diff)
Remove redundant (and wrong) class parameters
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/utils.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py
index ae813099d..88f9f9070 100644
--- 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