diff options
author | Jouke Waleson <jouke.waleson@mendix.com> | 2014-11-23 21:20:46 +0100 |
---|---|---|
committer | Jouke Waleson <jouke.waleson@mendix.com> | 2014-11-23 21:20:46 +0100 |
commit | 8bcc875676b56c062a4fdd81763a6adb0fb1390c (patch) | |
tree | 429ecb8bb9ee320a0dd72e064ec251f588d479bf /devscripts | |
parent | 5f6a1245ffa9276c1af59b0835afeef67e2fb5b1 (diff) |
PEP8: more applied
Diffstat (limited to 'devscripts')
-rwxr-xr-x | devscripts/gh-pages/generate-download.py | 3 | ||||
-rw-r--r-- | devscripts/transition_helper_exe/youtube-dl.py | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/devscripts/gh-pages/generate-download.py b/devscripts/gh-pages/generate-download.py index 55912e12c..e90c787fd 100755 --- a/devscripts/gh-pages/generate-download.py +++ b/devscripts/gh-pages/generate-download.py @@ -1,8 +1,5 @@ #!/usr/bin/env python3 import hashlib -import shutil -import subprocess -import tempfile import urllib.request import json diff --git a/devscripts/transition_helper_exe/youtube-dl.py b/devscripts/transition_helper_exe/youtube-dl.py index edb449fb3..d75316cfa 100644 --- a/devscripts/transition_helper_exe/youtube-dl.py +++ b/devscripts/transition_helper_exe/youtube-dl.py @@ -32,7 +32,7 @@ def rsa_verify(message, signature, key): signature = signature[2:] if not b('\x00') in signature: return False - signature = signature[signature.index(b('\x00'))+1:] + signature = signature[signature.index(b('\x00')) +1:] if not signature.startswith(b('\x30\x31\x30\x0D\x06\x09\x60\x86\x48\x01\x65\x03\x04\x02\x01\x05\x00\x04\x20')): return False signature = signature[19:] |