aboutsummaryrefslogtreecommitdiffstats
path: root/tests/jquery
diff options
context:
space:
mode:
authorKagami Sascha Rosylight <saschanaz@outlook.com>2020-06-21 03:34:22 +0200
committerKagami Sascha Rosylight <saschanaz@outlook.com>2020-06-21 03:34:32 +0200
commitd01648d637a350af0cb81470f956cc5edd18a9a4 (patch)
tree348d75fe9d3e63fd4bb8ff2506db6606a12e56fd /tests/jquery
parentc953931621679f37fa31a1dc5f00ebb9f0c204e0 (diff)
downloadservo-d01648d637a350af0cb81470f956cc5edd18a9a4.tar.gz
servo-d01648d637a350af0cb81470f956cc5edd18a9a4.zip
Fix remaining flake8 warnings
Diffstat (limited to 'tests/jquery')
-rwxr-xr-xtests/jquery/run_jquery.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/jquery/run_jquery.py b/tests/jquery/run_jquery.py
index cb5b4490c6a..e9d50deed7b 100755
--- a/tests/jquery/run_jquery.py
+++ b/tests/jquery/run_jquery.py
@@ -183,7 +183,7 @@ def run_http_server():
self.send_header("Last-Modified", self.date_time_string(fs.st_mtime))
self.end_headers()
return f
- except:
+ except IOError:
f.close()
raise
@@ -195,6 +195,7 @@ def run_http_server():
sys.stdout.flush()
server.handle_request()
+
if __name__ == '__main__':
if len(sys.argv) == 4:
cmd = sys.argv[1]