aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/aes.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-11-23 22:21:46 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2014-11-23 22:21:46 +0100
commitb74e86f48aa6d007b681e2723ff28fe82a49fa9d (patch)
tree660c068ab4ea4835c8311c974b029360d5350875 /youtube_dl/aes.py
parent3d36cea4aca303f6bde5b5453f4e3aeec8ee41e1 (diff)
Fix all PEP8 issues except E501
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 662d49011..2eeb96a5a 100644
--- a/youtube_dl/aes.py
+++ b/youtube_dl/aes.py
@@ -87,7 +87,7 @@ def key_expansion(data):
temp = sub_bytes(temp)
data += xor(temp, data[-key_size_bytes: 4 - key_size_bytes])
- for _ in range(3 if key_size_bytes == 32 else 2 if key_size_bytes == 24 else 0):
+ for _ in range(3 if key_size_bytes == 32 else 2 if key_size_bytes == 24 else 0):
temp = data[-4:]
data += xor(temp, data[-key_size_bytes: 4 - key_size_bytes])
data = data[:expanded_key_size_bytes]