Browse Source

Use proper object

pull/67/head
Dirkjan Bussink 8 years ago
parent
commit
a180f246a2
No known key found for this signature in database GPG Key ID: F1573D8E835753FD
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      octodns/record.py

+ 3
- 3
octodns/record.py View File

@ -127,9 +127,9 @@ class Record(object):
self.ttl = int(data['ttl'])
self._octodns = data.get('octodns', {})
self.ignored = octodns.get('ignored', False)
self.excluded = octodns.get('excluded', [])
self.included = octodns.get('included', [])
self.ignored = self._octodns.get('ignored', False)
self.excluded = self._octodns.get('excluded', [])
self.included = self._octodns.get('included', [])
def _data(self):
return {'ttl': self.ttl}


Loading…
Cancel
Save