summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2015-11-23 23:06:07 +0100
committerDaniel Schadt <kingdread@gmx.de>2015-12-20 19:24:41 +0100
commitd7d577b1fa1fc90ab433b42e88f439c09ea83b69 (patch)
tree3d989bdf2dd9c6846d15bb246be841e11f442f4f /scripts
parent738fad50da5c3b62eedcc32e4ab6f35b4aec8c86 (diff)
downloadqutebrowser-d7d577b1fa1fc90ab433b42e88f439c09ea83b69.tar.gz
qutebrowser-d7d577b1fa1fc90ab433b42e88f439c09ea83b69.zip
Fix pep8/pylint
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/dev/update_3rdparty.py3
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()