Comment's params is optional in create_hosted_zones. It is fix to support and templates adapted to it.

This commit is contained in:
beeva-antonioirizar 2016-02-17 15:32:38 +01:00
commit a621c83bf7
2 changed files with 15 additions and 5 deletions

View file

@ -113,7 +113,8 @@ class FakeZone(object):
def __init__(self, name, id_, comment=None):
self.name = name
self.id = id_
self.comment = comment
if comment is not None:
self.comment = comment
self.private_zone = False
self.rrsets = []