Fix preview output in dns-record-delete
This commit is contained in:
@@ -112,7 +112,8 @@ def main():
|
||||
rdtypestr = rdataset.rdtype.to_text(rdataset.rdtype)
|
||||
for rdata in rdataset:
|
||||
text = rdata.to_text(origin=zone.origin, relativize=False)
|
||||
print(f'\033[31m- {name} {rdataset.ttl} {rdclassstr} {rdtypestr} {text}\033[0m\n')
|
||||
print(f'\033[31m- {name} {rdataset.ttl} {rdclassstr} {rdtypestr} {text}\033[0m')
|
||||
print()
|
||||
|
||||
if not dnsmgr.input_yes_no():
|
||||
sys.exit(0)
|
||||
|
||||
Reference in New Issue
Block a user