summaryrefslogtreecommitdiff
path: root/dns/query.py
diff options
context:
space:
mode:
authorBob Halley <halley@dnspython.org>2020-08-22 10:43:49 -0700
committerBob Halley <halley@dnspython.org>2020-08-22 10:43:49 -0700
commit6fe02541577ef8113b60d1cadc49bd74efab0ff2 (patch)
tree07d5a9e4df12da3ae9f530c61dc6b77ca4249a15 /dns/query.py
parent8d2f1ba94c573ea3791572c5e7565c5c9d82a80d (diff)
downloaddnspython-6fe02541577ef8113b60d1cadc49bd74efab0ff2.tar.gz
remove parameters that are no longer used in inbound_xfr()
Diffstat (limited to 'dns/query.py')
-rw-r--r--dns/query.py12
1 files changed, 1 insertions, 11 deletions
diff --git a/dns/query.py b/dns/query.py
index 01452ee..37c727e 100644
--- a/dns/query.py
+++ b/dns/query.py
@@ -997,9 +997,7 @@ class UDPMode(enum.IntEnum):
def inbound_xfr(where, txn_manager, query=None,
port=53, timeout=None, lifetime=None, source=None,
- source_port=0, udp_mode=UDPMode.NEVER,
- keyring=None, keyname=None,
- keyalgorithm=dns.tsig.default_algorithm):
+ source_port=0, udp_mode=UDPMode.NEVER):
"""Conduct an inbound transfer and apply it via a transaction from the
txn_manager.
@@ -1034,15 +1032,7 @@ def inbound_xfr(where, txn_manager, query=None,
``dns.UDPMode.ONLY``, which means "try UDP and raise
``dns.xfr.UseTCP`` if it does not succeeed.
- *keyring*, a ``dict``, the keyring to use for TSIG.
-
- *keyname*, a ``dns.name.Name`` or ``str``, the name of the TSIG
- key to use.
-
- *keyalgorithm*, a ``dns.name.Name`` or ``str``, the TSIG algorithm to use.
-
Raises on errors.
-
"""
if query is None:
(query, serial) = dns.xfr.make_query(txn_manager)