1
0
mirror of https://github.com/github/octodns.git synced 2024-05-11 05:55:00 +00:00

Move method doc to comment

This commit is contained in:
Ross McFarland
2019-04-26 02:43:58 -07:00
committed by GitHub
parent 9a4e99336d
commit 8c9b9fce89

View File

@@ -47,14 +47,11 @@ class TinyDnsBaseSource(BaseSource):
}
def _data_for_AAAA(self, _type, records):
'''
TinyDNS files have the ipv6 address written in full, but with the
colons removed. This inserts a colon every 4th character to make
the address correct.
'''
values = []
for record in records:
# TinyDNS files have the ipv6 address written in full, but with the
# colons removed. This inserts a colon every 4th character to make
# the address correct.
values.append(u":".join(textwrap.wrap(record[0], 4)))
try:
ttl = records[0][1]