Update octodns/provider/mythicbeasts.py

Seems fair to me! I think a lot of the suggestions you've mentioned are obvious ones that have been lost on me from being very confused trying to understand the available objects

Co-Authored-By: Ross McFarland <[email protected]>
This commit is contained in:
cwningen
2019-05-14 14:46:49 +01:00
committed by GitHub
co-authored by Ross McFarland
parent fd63150cac
commit 57b03971d8
+1 -1
View File
@@ -339,7 +339,7 @@ class MythicBeastsProvider(BaseProvider):
base = '{} {} {} {}'.format(action, hostname, ttl, _type)
if re.match('[A]{1,4}', _type) is not None:
if _type in ('A', 'AAAA'):
for value in values:
commands.append('{} {}'.format(base, value))