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
This commit is contained in:
Corey Farwell 2015-07-26 09:31:32 +07:00
parent d71d2da81f
commit d1acefa452

View file

@ -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)