mirror of
https://github.com/NeoCloud/NeoNetwork
synced 2024-12-26 12:19:23 +08:00
simplify
This commit is contained in:
parent
60180d50c7
commit
98460975b5
1 changed files with 1 additions and 2 deletions
|
@ -188,9 +188,8 @@ def export_dnssec_dnskey():
|
||||||
zonekey["zone"] = zone
|
zonekey["zone"] = zone
|
||||||
else:
|
else:
|
||||||
assert zonekey["zone"] == zone
|
assert zonekey["zone"] == zone
|
||||||
str_dnskey = " ".join(dnskey)
|
|
||||||
zonekey["records"].append({
|
zonekey["records"].append({
|
||||||
"dnskey": str_dnskey,
|
"dnskey": " ".join(dnskey),
|
||||||
"ds": ds_from_dnskey(zone, *dnskey),
|
"ds": ds_from_dnskey(zone, *dnskey),
|
||||||
})
|
})
|
||||||
if zonekey["zone"]:
|
if zonekey["zone"]:
|
||||||
|
|
Loading…
Reference in a new issue