Revert "Variable 'target' is never used."

This reverts commit 3d281af027.
This commit is contained in:
Steven Black
2016-02-07 15:53:37 -05:00
parent 3d281af027
commit ad2c8e8558
+1 -1
View File
@@ -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