summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Halley <halley@nominum.com>2010-01-13 15:01:39 -0800
committerBob Halley <halley@nominum.com>2010-01-13 15:01:39 -0800
commita439a382de4b902878008784749fddb1312b0633 (patch)
treeb452102a44dae6bb013372bb7293154fa3965615
parentdcdd4f08545751d42e761acdd15b040c9fcfe0ae (diff)
downloaddnspython-a439a382de4b902878008784749fddb1312b0633.tar.gz
specify tsig algorithm correctly when passing to use_tsig
-rw-r--r--dns/query.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dns/query.py b/dns/query.py
index 79327ca..a907df0 100644
--- a/dns/query.py
+++ b/dns/query.py
@@ -318,7 +318,7 @@ def xfr(where, zone, rdtype=dns.rdatatype.AXFR, rdclass=dns.rdataclass.IN,
'. . %u 0 0 0 0' % serial)
q.authority.append(rrset)
if not keyring is None:
- q.use_tsig(keyring, keyname, keyalgorithm)
+ q.use_tsig(keyring, keyname, algorithm=keyalgorithm)
wire = q.to_wire()
if af is None:
try: