From 57b03971d8c1c9b7f1f23b4fc592669eea53bd64 Mon Sep 17 00:00:00 2001 From: cwningen Date: Tue, 14 May 2019 14:46:49 +0100 Subject: [PATCH] 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 --- octodns/provider/mythicbeasts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/octodns/provider/mythicbeasts.py b/octodns/provider/mythicbeasts.py index ca03b37..3d1f5ec 100644 --- a/octodns/provider/mythicbeasts.py +++ b/octodns/provider/mythicbeasts.py @@ -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))