mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
Apply suggestions/corrections from a round of code review
This commit is contained in:
@@ -99,9 +99,9 @@ class Plan(object):
|
||||
|
||||
# If we have any changes of the root NS record for the zone it's a huge
|
||||
# deal and force should always be required for extra care
|
||||
if self.exists and [True for c in self.changes
|
||||
if c.record and c.record._type == 'NS' and
|
||||
c.record.name == '']:
|
||||
if self.exists and any(c for c in self.changes
|
||||
if c.record and c.record._type == 'NS' and
|
||||
c.record.name == ''):
|
||||
raise RootNsChange()
|
||||
|
||||
def __repr__(self):
|
||||
|
Reference in New Issue
Block a user