Handle domains with no history on domain_list
This commit is contained in:
parent
af58391164
commit
c32633ba09
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ class Domain:
|
||||||
self.domain = domain
|
self.domain = domain
|
||||||
self.group = group
|
self.group = group
|
||||||
if zone_history_are_ids:
|
if zone_history_are_ids:
|
||||||
self.zone_history = [UncompleteZoneMeta(self, zid) for zid in zone_history]
|
self.zone_history = [UncompleteZoneMeta(self, zid) for zid in zone_history] if zone_history is not None else []
|
||||||
else:
|
else:
|
||||||
self.zone_history = zone_history if zone_history is not None else []
|
self.zone_history = zone_history if zone_history is not None else []
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue