mirror of
https://github.com/StevenBlack/hosts.git
synced 2024-07-06 12:32:35 +02:00
Merge pull request #46 from FrancoGag/master
Don't print '::1 localhost'
This commit is contained in:
commit
8d12266eb7
@ -232,6 +232,8 @@ def removeDupsAndExcl( mergeFile ):
|
||||
# Cross-python write
|
||||
writeData( finalFile, line )
|
||||
continue
|
||||
if '::1' in line:
|
||||
continue
|
||||
|
||||
strippedRule = stripRule( line ) #strip comments
|
||||
if len( strippedRule ) == 0:
|
||||
|
Loading…
Reference in New Issue
Block a user