From: Brian Wellington Date: Thu, 29 Oct 2020 23:27:56 +0000 (-0700) Subject: Add repr() for dns.tsig.Key. X-Git-Tag: v2.1.0rc1~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee12ebcddcdc0732c5c141ebae481a1877b5a1b3;p=thirdparty%2Fdnspython.git Add repr() for dns.tsig.Key. --- diff --git a/dns/tsig.py b/dns/tsig.py index 117b5e5e..5c773fff 100644 --- a/dns/tsig.py +++ b/dns/tsig.py @@ -336,3 +336,8 @@ class Key: self.name == other.name and self.secret == other.secret and self.algorithm == other.algorithm) + + def __repr__(self): + return f""