Variable 'target' is never used.

This commit is contained in:
Steven Black
2016-02-07 15:35:36 -05:00
parent 9de8ea4bf5
commit 3d281af027
+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:
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