youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit 080e09557d0c323a9abf5f72e9d307f8bb545be6
parent fca2e6d5a6fd402bc14dd381c1060f6a2cc38eb8
Author: Sergey M․ <dstftw@gmail.com>
Date:   Sun, 14 Feb 2016 14:01:43 +0600

[aes] Switch to new-style classes

Diffstat:
Myoutube_dl/aes.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/youtube_dl/aes.py b/youtube_dl/aes.py @@ -161,7 +161,7 @@ def aes_decrypt_text(data, password, key_size_bytes): nonce = data[:NONCE_LENGTH_BYTES] cipher = data[NONCE_LENGTH_BYTES:] - class Counter: + class Counter(object): __value = nonce + [0] * (BLOCK_SIZE_BYTES - NONCE_LENGTH_BYTES) def next_value(self):