From 3d281af027df29105ffe2051041ded09a8c2372c Mon Sep 17 00:00:00 2001 From: Steven Black Date: Sun, 7 Feb 2016 15:35:36 -0500 Subject: [PATCH] Variable 'target' is never used. --- updateHostsFile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/updateHostsFile.py b/updateHostsFile.py index 9b202c217..3a382b91a 100644 --- a/updateHostsFile.py +++ b/updateHostsFile.py @@ -261,7 +261,7 @@ def removeDupsAndExcl( mergeFile ): def normalizeRule(rule): result = re.search(r'^[ \t]*(\d+\.\d+\.\d+\.\d+)\s+([\w\.-]+)(.*)', rule ) if result: - target, hostname, suffix = result.groups() + hostname, suffix = result.groups() hostname = hostname.lower() # explicitly lowercase hostname if suffix is not '': # add suffix as comment only, not as a separate host