From d1acefa452f28bcfc8d6f45143c4c9e1f6b16938 Mon Sep 17 00:00:00 2001 From: Corey Farwell Date: Sun, 26 Jul 2015 09:31:32 +0700 Subject: 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 --- python/servo/bootstrap_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/servo/bootstrap_commands.py') 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) -- cgit v1.2.3