From ee12ebcddcdc0732c5c141ebae481a1877b5a1b3 Mon Sep 17 00:00:00 2001 From: Brian Wellington Date: Thu, 29 Oct 2020 16:27:56 -0700 Subject: [PATCH] Add repr() for dns.tsig.Key. --- dns/tsig.py | 5 +++++ 1 file changed, 5 insertions(+) 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"" -- 2.47.3