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

Use the proper arity when accessing quoted data records.

This commit is contained in:
Terrence Cole
2017-07-13 14:53:30 -07:00
parent 92fb24f3fa
commit 3459064d0f

View File

@@ -164,9 +164,9 @@ class RackspaceProvider(BaseProvider):
def _data_for_quoted(self, rrset):
return {
'type': rrset['type'],
'values': [strip_quotes(r['content']) for r in rrset['records']],
'ttl': rrset['ttl']
'type': rrset[0]['type'],
'values': [strip_quotes(r['content']) for r in rrset[0]['records']],
'ttl': rrset[0]['ttl']
}
_data_for_SPF = _data_for_quoted