mirror of
https://github.com/StevenBlack/hosts.git
synced 2026-11-19 08:40:20 +00:00
Revert "Variable 'target' is never used."
This reverts commit 3d281af027.
This commit is contained in:
1 parent
3d281af027
commit
ad2c8e8558
1 file changed
+1
-1
+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