mirror of
https://github.com/servo/servo.git
synced 2025-06-20 23:28:59 +01:00
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:
parent
d71d2da81f
commit
d1acefa452
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue