From: Steven Black Date: Sun, 7 Feb 2016 20:53:37 +0000 (-0500) Subject: Revert "Variable 'target' is never used." X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=ad2c8e855899edd1ede8479beb15e0a4827da109;p=stevenblack-hosts.git Revert "Variable 'target' is never used." This reverts commit 3d281af027df29105ffe2051041ded09a8c2372c. --- diff --git a/updateHostsFile.py b/updateHostsFile.py index 3a382b91a..9b202c217 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: - hostname, suffix = result.groups() + target, hostname, suffix = result.groups() hostname = hostname.lower() # explicitly lowercase hostname if suffix is not '': # add suffix as comment only, not as a separate host