]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
Pull up to_text() fix (1835bb9ac96818d983e7caf3218851c758019c0c)
authorBob Halley <halley@dnspython.org>
Sun, 1 Sep 2013 23:13:19 +0000 (16:13 -0700)
committerBob Halley <halley@dnspython.org>
Sun, 1 Sep 2013 23:13:19 +0000 (16:13 -0700)
dns/tsigkeyring.py

index 8e18926da3548fee6a14a198c3cd5e64810abb37..c86ecf2ff8b1ae3c915ad450f4f042f92f9d271e 100644 (file)
@@ -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