mirror of
https://github.com/StevenBlack/hosts.git
synced 2026-09-24 14:20:09 +01:00
Revert "Variable 'target' is never used."
This reverts commit 3d281af027.
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user