From: Steven Black Date: Sun, 7 Feb 2016 20:35:36 +0000 (-0500) Subject: Variable 'target' is never used. X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=3d281af027df29105ffe2051041ded09a8c2372c;p=stevenblack-hosts.git Variable 'target' is never used. --- 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