diff options
author | Corey Farwell <coreyf@rwell.org> | 2015-07-26 09:31:32 +0700 |
---|---|---|
committer | Corey Farwell <coreyf@rwell.org> | 2015-07-26 22:07:23 +0700 |
commit | d1acefa452f28bcfc8d6f45143c4c9e1f6b16938 (patch) | |
tree | c4084a5275f28d919fe7ecf84398df9c46f3ab4f /python/servo/bootstrap_commands.py | |
parent | d71d2da81f83ecc23938247d7dd961daf401536c (diff) | |
download | servo-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.py | 2 |
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) |