From: Bob Halley Date: Sat, 22 Aug 2020 17:43:49 +0000 (-0700) Subject: remove parameters that are no longer used in inbound_xfr() X-Git-Tag: v2.1.0rc1~52 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6fe02541577ef8113b60d1cadc49bd74efab0ff2;p=thirdparty%2Fdnspython.git remove parameters that are no longer used in inbound_xfr() --- 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)