diff options
author | Daniel Schadt <kingdread@gmx.de> | 2015-11-23 23:06:07 +0100 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2015-12-20 19:24:41 +0100 |
commit | d7d577b1fa1fc90ab433b42e88f439c09ea83b69 (patch) | |
tree | 3d989bdf2dd9c6846d15bb246be841e11f442f4f /scripts | |
parent | 738fad50da5c3b62eedcc32e4ab6f35b4aec8c86 (diff) | |
download | qutebrowser-d7d577b1fa1fc90ab433b42e88f439c09ea83b69.tar.gz qutebrowser-d7d577b1fa1fc90ab433b42e88f439c09ea83b69.zip |
Fix pep8/pylint
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/dev/update_3rdparty.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/dev/update_3rdparty.py b/scripts/dev/update_3rdparty.py index bb9d70013..35571728f 100755 --- a/scripts/dev/update_3rdparty.py +++ b/scripts/dev/update_3rdparty.py @@ -43,6 +43,7 @@ def get_latest_pdfjs_url(): def update_pdfjs(): + """Download and extract the latest pdf.js version.""" version, url = get_latest_pdfjs_url() target_path = os.path.join('qutebrowser', '3rdparty', 'pdfjs') print("=> Downloading pdf.js {}".format(version)) @@ -56,8 +57,6 @@ def update_pdfjs(): shutil.unpack_archive(archive, target_path, 'zip') - - def main(): update_pdfjs() |