From 98460975b514cd1046e5fda5a014b47fd16ef3ba Mon Sep 17 00:00:00 2001 From: Jerry Date: Sat, 24 Apr 2021 23:04:25 +0800 Subject: [PATCH] simplify --- scripts/roa.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/roa.py b/scripts/roa.py index 4150d76..69b6e92 100755 --- a/scripts/roa.py +++ b/scripts/roa.py @@ -188,9 +188,8 @@ def export_dnssec_dnskey(): zonekey["zone"] = zone else: assert zonekey["zone"] == zone - str_dnskey = " ".join(dnskey) zonekey["records"].append({ - "dnskey": str_dnskey, + "dnskey": " ".join(dnskey), "ds": ds_from_dnskey(zone, *dnskey), }) if zonekey["zone"]: