summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Halley <halley@dnspython.org>2013-09-01 16:13:19 -0700
committerBob Halley <halley@dnspython.org>2013-09-01 16:13:19 -0700
commit601669759b162d7cb988b585603039b9a5f568db (patch)
tree87390e5fe5036642260ec5ada05336d6f65a169b
parente25ee875d9d5b6f1cd4cd06e4127c1fbfa557bef (diff)
downloaddnspython-601669759b162d7cb988b585603039b9a5f568db.tar.gz
Pull up to_text() fix (1835bb9ac96818d983e7caf3218851c758019c0c)
-rw-r--r--dns/tsigkeyring.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dns/tsigkeyring.py b/dns/tsigkeyring.py
index 8e18926..c86ecf2 100644
--- a/dns/tsigkeyring.py
+++ b/dns/tsigkeyring.py
@@ -38,7 +38,7 @@ def to_text(keyring):
textring = {}
for keyname in keyring:
- keytext = dns.name.to_text(keyname)
+ keytext = keyname.to_text()
secret = base64.encodestring(keyring[keyname])
textring[keytext] = secret
return textring