summaryrefslogtreecommitdiffstats
path: root/lib/dnspython/dns/tsigkeyring.py
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-09-04 23:05:16 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-09-04 23:05:16 +0200
commit6185fb4e9e3d3e654ad9f6325da0f4886013dda6 (patch)
tree81a767238fdd3b1902672330a49948d838acd2c7 /lib/dnspython/dns/tsigkeyring.py
parent5de2ec0def3e4ad0ead20b426e81509fd8e48c6d (diff)
downloadsamba-6185fb4e9e3d3e654ad9f6325da0f4886013dda6.tar.gz
samba-6185fb4e9e3d3e654ad9f6325da0f4886013dda6.tar.xz
samba-6185fb4e9e3d3e654ad9f6325da0f4886013dda6.zip
dnspython: Update to latest upstream.
Diffstat (limited to 'lib/dnspython/dns/tsigkeyring.py')
-rw-r--r--lib/dnspython/dns/tsigkeyring.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/dnspython/dns/tsigkeyring.py b/lib/dnspython/dns/tsigkeyring.py
index 4d68f96c85..cbd1a27bbf 100644
--- a/lib/dnspython/dns/tsigkeyring.py
+++ b/lib/dnspython/dns/tsigkeyring.py
@@ -23,7 +23,7 @@ def from_text(textring):
"""Convert a dictionary containing (textual DNS name, base64 secret) pairs
into a binary keyring which has (dns.name.Name, binary secret) pairs.
@rtype: dict"""
-
+
keyring = {}
for keytext in textring:
keyname = dns.name.from_text(keytext)
@@ -35,7 +35,7 @@ def to_text(keyring):
"""Convert a dictionary containing (dns.name.Name, binary secret) pairs
into a text keyring which has (textual DNS name, base64 secret) pairs.
@rtype: dict"""
-
+
textring = {}
for keyname in keyring:
keytext = dns.name.to_text(keyname)