cosmetic log update

This commit is contained in:
Gilles Grandou 2019-10-07 09:19:39 +02:00
parent df66e50d47
commit 306d4b536e

View File

@ -137,10 +137,10 @@ def log(msg):
def log_update_zone(zone_list, delete_zone_list):
for host,typea,addr in zone_list:
log("%-20s %-6s %s" % (host, typea, addr))
for host,typea,addr in delete_zone_list:
log("DELETE: %-20s %-6s %s" % (host, typea, addr))
log("[DEL] %-20s %-6s %s" % (host, typea, addr))
for host,typea,addr in zone_list:
log(" %-20s %-6s %s" % (host, typea, addr))
def ovh_update_zone(domain, update_zone_list, delete_zone_list):