Code dupliqué
This commit is contained in:
parent
47680039aa
commit
700100d52a
1 changed files with 0 additions and 9 deletions
9
main.py
9
main.py
|
@ -177,15 +177,6 @@ def write_dns_file(zone):
|
|||
for x in zone['a_records']
|
||||
)
|
||||
|
||||
aaaa_records = "\n".join(
|
||||
template_aaaa.format(
|
||||
hostname=x['hostname'],
|
||||
ipv6=ip['ipv6']
|
||||
)
|
||||
for x in zone['aaaa_records']
|
||||
for ip in x['ipv6']
|
||||
if x['ipv6'] is not None
|
||||
)
|
||||
|
||||
aaaa_records = "\n".join(
|
||||
template_aaaa.format(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue