1
0
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:
Dirkjan Bussink
2018-03-22 09:03:32 +01:00
parent 9cde37993b
commit a180f246a2

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}