Add the version parameter.

Call the parent with the version parameter.

Change-Id: I20016e299077a7b678ecabceacb21cc0c7d306c8
This commit is contained in:
Daniel Bengtsson 2021-05-04 15:00:11 +02:00
parent 6e91dbb2d5
commit 1f16007ce8

View File

@ -876,7 +876,7 @@ class HostDomain(HostAddress):
"""
super(HostDomain, self).__init__(type_name=type_name)
super(HostDomain, self).__init__(version=version, type_name=type_name)
def __call__(self, value):
"""Checks if is a valid IP/hostname.