]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
remove parameters that are no longer used in inbound_xfr()
authorBob Halley <halley@dnspython.org>
Sat, 22 Aug 2020 17:43:49 +0000 (10:43 -0700)
committerBob Halley <halley@dnspython.org>
Sat, 22 Aug 2020 17:43:49 +0000 (10:43 -0700)
dns/asyncquery.py
dns/query.py

index 5e879c61e62fed819939f09a7e34271f936c7fda..702de377df81254cb489a02f016dfab89267673f 100644 (file)
@@ -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.
index 01452ee0257ff65b0e8f6e7f7e82ce0ef866407d..37c727e3e2ae27c4eade5045af9318f14c3889d0 100644 (file)
@@ -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)