pvl/hosts/zone.py
changeset 496 530f22575889
parent 495 629fc999cc33
child 497 0082d2092d1f
--- a/pvl/hosts/zone.py	Thu Feb 26 16:02:43 2015 +0200
+++ b/pvl/hosts/zone.py	Thu Feb 26 16:05:26 2015 +0200
@@ -11,7 +11,7 @@
     pass
 
 # TODO: generate location alias CNAMEs even if host itself is outside origin?
-def host_forward (host, origin) :
+def host_forward (host, origin):
     """
         Yield ZoneRecords for hosts within the given zone origin
     """
@@ -138,9 +138,6 @@
     by_name_type = dict()
     
     for host in hosts:
-        if not host.domain:
-            log.debug("%s: skip without domain", host)
-
         for rr in host_forward(host, origin) :
             if (rr.name, 'CNAME') in by_name_type:
                 raise HostZoneError(host, "CNAME {cname} conflict: {rr}".format(cname=by_name_type[rr.name, 'CNAME'].name, rr=rr))