diff --git a/dyndomain b/dyndomain index 0cfed57..2bf87fb 100755 --- a/dyndomain +++ b/dyndomain @@ -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):