diff options
author | Sergey M. <dstftw@gmail.com> | 2015-07-29 02:46:53 +0600 |
---|---|---|
committer | Sergey M. <dstftw@gmail.com> | 2015-07-29 02:46:53 +0600 |
commit | 5d8df28d2728299d5550355f929e1282c0301464 (patch) | |
tree | 22c06e18f6f3c8af768f77235348dd1734c33102 /youtube_dl | |
parent | 289bbb350e11ae1460db515560345088d7c58663 (diff) | |
parent | 2c7ed247967f3563d26879f2206e0f54dfdf9b23 (diff) |
Merge pull request #6372 from raphaelm/patch-1
Remove redundant (and wrong) class parameters
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/utils.py | 4 |
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 |