From 6fe02541577ef8113b60d1cadc49bd74efab0ff2 Mon Sep 17 00:00:00 2001 From: Bob Halley Date: Sat, 22 Aug 2020 10:43:49 -0700 Subject: [PATCH] remove parameters that are no longer used in inbound_xfr() --- dns/asyncquery.py | 2 -- dns/query.py | 12 +----------- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/dns/asyncquery.py b/dns/asyncquery.py index 5e879c61..702de377 100644 --- a/dns/asyncquery.py +++ b/dns/asyncquery.py @@ -352,8 +352,6 @@ async def tls(q, where, timeout=None, port=853, source=None, source_port=0, async 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, backend=None): """Conduct an inbound transfer and apply it via a transaction from the txn_manager. diff --git a/dns/query.py b/dns/query.py index 01452ee0..37c727e3 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) -- 2.47.3