mirror of
https://github.com/minoplhy/filters-maker.git
synced 2024-12-22 18:18:13 +00:00
Update 'maker_rpz.py'
This commit is contained in:
parent
9f3e40a474
commit
952d6872d3
@ -32,9 +32,9 @@ def RPZbuilding(excluded,incoming,output):
|
||||
for line in lines:
|
||||
if line.strip() and not line in exclude and not line.startswith(';'):
|
||||
f.write('\n'.join([line + ' CNAME .\n']))
|
||||
if line.startswith((';','$','@',' IN')):
|
||||
elif line.startswith((';','$','@',' IN')):
|
||||
f.write('\n'.join([line + '\n']))
|
||||
if not line.strip():
|
||||
elif not line.strip():
|
||||
f.write('\n'.join([line + '\n']))
|
||||
f.close()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user