From 306d4b536e376d7c1dcef1480adda61ed07da2a6 Mon Sep 17 00:00:00 2001 From: Gilles Grandou Date: Mon, 7 Oct 2019 09:19:39 +0200 Subject: [PATCH] cosmetic log update --- dyndomain | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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):