diff --git a/dns/rdtypes/ANY/SSHFP.py b/dns/rdtypes/ANY/SSHFP.py index 4fd917c3..f80df339 100644 --- a/dns/rdtypes/ANY/SSHFP.py +++ b/dns/rdtypes/ANY/SSHFP.py @@ -43,7 +43,7 @@ def to_text(self, origin=None, relativize=True, **kw): return '%d %d %s' % (self.algorithm, self.fp_type, dns.rdata._hexify(self.fingerprint, - chunksize=128)) + chunksize=kw.get('chunksize', 128))) @classmethod def from_text(cls, rdclass, rdtype, tok, origin=None, relativize=True, diff --git a/dns/rdtypes/dsbase.py b/dns/rdtypes/dsbase.py index 19e087c8..7dac981b 100644 --- a/dns/rdtypes/dsbase.py +++ b/dns/rdtypes/dsbase.py @@ -43,7 +43,7 @@ def to_text(self, origin=None, relativize=True, **kw): return '%d %d %d %s' % (self.key_tag, self.algorithm, self.digest_type, dns.rdata._hexify(self.digest, - chunksize=128)) + chunksize=kw.get('chunksize', 128))) @classmethod def from_text(cls, rdclass, rdtype, tok, origin=None, relativize=True, diff --git a/dns/rdtypes/tlsabase.py b/dns/rdtypes/tlsabase.py index a9563da9..7cb7771b 100644 --- a/dns/rdtypes/tlsabase.py +++ b/dns/rdtypes/tlsabase.py @@ -45,7 +45,7 @@ def to_text(self, origin=None, relativize=True, **kw): self.selector, self.mtype, dns.rdata._hexify(self.cert, - chunksize=128)) + chunksize=kw.get('chunksize', 128))) @classmethod def from_text(cls, rdclass, rdtype, tok, origin=None, relativize=True,