mirror of
https://github.com/StevenBlack/hosts.git
synced 2026-11-16 23:38:03 +00:00
Merge pull request #46 from FrancoGag/master
Don't print '::1 localhost'
This commit is contained in:
commit
8d12266eb7
1 file changed
+2
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user