summaryrefslogtreecommitdiff
path: root/lib/dnspython/dns/update.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dnspython/dns/update.py')
-rw-r--r--lib/dnspython/dns/update.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dnspython/dns/update.py b/lib/dnspython/dns/update.py
index 7d42636891..97aea18fb9 100644
--- a/lib/dnspython/dns/update.py
+++ b/lib/dnspython/dns/update.py
@@ -56,7 +56,7 @@ class Update(dns.message.Message):
self.find_rrset(self.question, self.origin, rdclass, dns.rdatatype.SOA,
create=True, force_unique=True)
if not keyring is None:
- self.use_tsig(keyring, keyname, keyalgorithm)
+ self.use_tsig(keyring, keyname, algorithm=keyalgorithm)
def _add_rr(self, name, ttl, rd, deleting=None, section=None):
"""Add a single RR to the update section."""