about summary refs log tree commit diff
path: root/youtube_dl/aes.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-02-14 14:01:43 +0600
committerSergey M․ <dstftw@gmail.com>2016-02-14 14:01:43 +0600
commit080e09557d0c323a9abf5f72e9d307f8bb545be6 (patch)
tree40623c459e7a3f70ba144a9a89b9a9b568b6c099 /youtube_dl/aes.py
parentfca2e6d5a6fd402bc14dd381c1060f6a2cc38eb8 (diff)
downloadyoutube-dl-080e09557d0c323a9abf5f72e9d307f8bb545be6.tar.gz
youtube-dl-080e09557d0c323a9abf5f72e9d307f8bb545be6.tar.xz
youtube-dl-080e09557d0c323a9abf5f72e9d307f8bb545be6.zip
[aes] Switch to new-style classes
Diffstat (limited to 'youtube_dl/aes.py')
-rw-r--r--youtube_dl/aes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/aes.py b/youtube_dl/aes.py
index 7817adcfd..a01c367de 100644
--- 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):