From 49d0a0bbb07eeb59eeb7a9539ec697eb3cec28ff Mon Sep 17 00:00:00 2001 From: missytake Date: Wed, 13 Dec 2023 14:31:24 +0100 Subject: [PATCH] DNS: fix parsing --- cmdeploy/src/cmdeploy/cmdeploy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmdeploy/src/cmdeploy/cmdeploy.py b/cmdeploy/src/cmdeploy/cmdeploy.py index 3b2920e2..1a3590ee 100644 --- a/cmdeploy/src/cmdeploy/cmdeploy.py +++ b/cmdeploy/src/cmdeploy/cmdeploy.py @@ -173,7 +173,7 @@ def dns_cmd(args, out): if f" {typ} " in line: domain, value = line.split(f" {typ} ") current = dns.get(typ, domain.strip()[:-1]) - if current != value: + if current != value.strip(): to_print.append(line) if " MX " in line: domain, typ, prio, value = line.split()