aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/bootstrap_commands.py
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2015-07-26 09:31:32 +0700
committerCorey Farwell <coreyf@rwell.org>2015-07-26 22:07:23 +0700
commitd1acefa452f28bcfc8d6f45143c4c9e1f6b16938 (patch)
treec4084a5275f28d919fe7ecf84398df9c46f3ab4f /python/servo/bootstrap_commands.py
parentd71d2da81f83ecc23938247d7dd961daf401536c (diff)
downloadservo-d1acefa452f28bcfc8d6f45143c4c9e1f6b16938.tar.gz
servo-d1acefa452f28bcfc8d6f45143c4c9e1f6b16938.zip
Prevent warning about redefining Python variable
'e' is also used later on in a list comprehension, and flake8 warns when variables get redefined within a function
Diffstat (limited to 'python/servo/bootstrap_commands.py')
-rw-r--r--python/servo/bootstrap_commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/servo/bootstrap_commands.py b/python/servo/bootstrap_commands.py
index 0e12b786342..37ae5d5b826 100644
--- a/python/servo/bootstrap_commands.py
+++ b/python/servo/bootstrap_commands.py
@@ -217,7 +217,7 @@ class MachCommands(CommandBase):
try:
content_base64 = download_bytes("Chromium HSTS preload list", chromium_hsts_url)
- except urllib2.URLError, e:
+ except urllib2.URLError:
print("Unable to download chromium HSTS preload list; are you connected to the internet?")
sys.exit(1)