bin/pvl.hosts-forward
changeset 489 7f1bd12e0d54
parent 487 920394061b6f
child 516 9615ffc647a0
equal deleted inserted replaced
488:502ee5fcf91c 489:7f1bd12e0d54
    30     
    30     
    31     hosts = pvl.hosts.apply(options, args)
    31     hosts = pvl.hosts.apply(options, args)
    32 
    32 
    33     # process
    33     # process
    34     try:
    34     try:
    35         for rr in pvl.hosts.zone.apply_hosts_forward(options, hosts, options.forward_zone):
    35         for rr in pvl.hosts.zone.apply_hosts_forward(hosts, options.forward_zone,
       
    36                 add_origin  = options.add_origin,
       
    37         ):
    36             print unicode(rr)
    38             print unicode(rr)
    37     except pvl.hosts.HostError as error:
    39     except pvl.hosts.HostError as error:
    38         log.error("%s", error)
    40         log.error("%s", error)
    39         return 3
    41         return 3
    40 
    42