mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
Use proper object
This commit is contained in:
@@ -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}
|
||||
|
Reference in New Issue
Block a user