summaryrefslogtreecommitdiff
path: root/scripts/storage.py
diff options
context:
space:
mode:
authorTaiju Tsuiki <tzik@users.noreply.github.com>2017-10-25 07:13:04 +0900
committerDerek Schuff <dschuff@chromium.org>2017-10-24 15:13:04 -0700
commitde4b36f88138637132f428789187cde9fb499dd2 (patch)
tree8753a6995ab87ab26b47a00f22410e534a5918fa /scripts/storage.py
parenta26b8ce4e37ebf0ddf5f59ee8cd35e6177d16db3 (diff)
downloadbinaryen-de4b36f88138637132f428789187cde9fb499dd2.tar.gz
binaryen-de4b36f88138637132f428789187cde9fb499dd2.tar.bz2
binaryen-de4b36f88138637132f428789187cde9fb499dd2.zip
Fix flake8 failures in scripts/ (#1239)
flake8 starts warning on bare "except:" in python scripts, and all CI job is failing for that.
Diffstat (limited to 'scripts/storage.py')
-rwxr-xr-xscripts/storage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/storage.py b/scripts/storage.py
index 8ae2e2676..771d145d8 100755
--- a/scripts/storage.py
+++ b/scripts/storage.py
@@ -31,7 +31,7 @@ def download_revision(force_latest):
info = None
try:
info = json.loads(downloaded)
- except:
+ except ValueError:
pass
return info['build'] if type(info) == dict else downloaded