modified: netbox_dns_bridge/catalog_zone_manager.py

modified:   netbox_dns_bridge/utils.py
Black reformat
This commit is contained in:
Sven Luthi committed 2026-08-11 12:22:52 +02:00
1 parent 8b5ecce44d
commit a4232eacaa
2 files changed
+7 -7

No files matched your search

+1 -2
View File
@@ -42,8 +42,7 @@ def build_dns_zone(nb_zone: netbox_dns.models.Zone) -> dns.zone.Zone:
# an unquoted value to be larger then 255 characters,
# it misunderstood everything behind a ; as a comment.
chunks = [
'"{}"'.format(value[i : i + 255])
for i in range(0, len(value), 255)
'"{}"'.format(value[i : i + 255]) for i in range(0, len(value), 255)
]
value = " ".join(chunks)
else: