Requirements update

This commit is contained in:
Curtis Castrapel
2018-05-25 11:07:26 -07:00
parent de52fa7f48
commit b0f9d33b32
8 changed files with 37 additions and 20 deletions

View File

@@ -80,6 +80,7 @@ def delete_txt_record(change_id, account_number, domain, token):
zone = Zone(zone_name)
node = Node(zone_name, fqdn)
all_txt_records = node.get_all_records_by_type('TXT')
for txt_record in all_txt_records:
if txt_record.txtdata == ("{}".format(token)):