Commit 700100d5 authored by Gabriel Detraz's avatar Gabriel Detraz Committed by root

Code dupliqué

parent 47680039
......@@ -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(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment