mirror of
https://github.com/StevenBlack/hosts.git
synced 2026-11-19 00:30:19 +00:00
Don't print '::1 localhost'
This commit is contained in:
1 parent
a7c73805eb
commit
459fb01471
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