summaryrefslogtreecommitdiff
path: root/lib/dnspython/dns/tsigkeyring.py
diff options
context:
space:
mode:
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)