bin/pvl.dns-hosts
changeset 262 36c980a6d04a
parent 261 dff7dcf0013f
child 263 5ee3bcd5b4b5
equal deleted inserted replaced
261:dff7dcf0013f 262:36c980a6d04a
   292 
   292 
   293         # only use the first match
   293         # only use the first match
   294         break
   294         break
   295     else :
   295     else :
   296         log.warn("%s: no owner: %s", host, info)
   296         log.warn("%s: no owner: %s", host, info)
       
   297     
       
   298     if info.get('host') :
       
   299         yield 'comment', info['host']
   297 
   300 
   298 def process_hosts_comments (options, import_hosts) :
   301 def process_hosts_comments (options, import_hosts) :
   299     """
   302     """
   300         Parse out comments from host imports..
   303         Parse out comments from host imports..
   301     """
   304     """