From 5cb19a0d0f09aa8746f7116528948d697ebcb9d5 Mon Sep 17 00:00:00 2001 From: Brian Wellington Date: Tue, 30 Jun 2020 08:36:39 -0700 Subject: [PATCH] Remove spaces from to_text(). --- dns/rdtypes/ANY/TSIG.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dns/rdtypes/ANY/TSIG.py b/dns/rdtypes/ANY/TSIG.py index c2a6ce01..002c2dbc 100644 --- a/dns/rdtypes/ANY/TSIG.py +++ b/dns/rdtypes/ANY/TSIG.py @@ -63,9 +63,9 @@ class TSIG(dns.rdata.Rdata): def to_text(self, origin=None, relativize=True, **kw): algorithm = self.algorithm.choose_relativity(origin, relativize) return f"{algorithm} {self.fudge} {self.time_signed} " + \ - f"{len(self.mac)} {dns.rdata._base64ify(self.mac)} " + \ + f"{len(self.mac)} {dns.rdata._base64ify(self.mac, 256)} " + \ f"{self.original_id} {self.error} " + \ - f"{len(self.other)} {dns.rdata._base64ify(self.other)}" + f"{len(self.other)} {dns.rdata._base64ify(self.other, 256)}" def _to_wire(self, file, compress=None, origin=None, canonicalize=False): self.algorithm.to_wire(file, None, origin, False) -- 2.47.3