From: Joseph Sutton Date: Thu, 23 Nov 2023 07:34:31 +0000 (+1300) Subject: python: Remove unused parameter ‘lp’ X-Git-Tag: talloc-2.4.2~323 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=95e0df789c380b21bb2517ad9c135c00c5f01bfd;p=thirdparty%2Fsamba.git python: Remove unused parameter ‘lp’ Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- diff --git a/python/samba/provision/__init__.py b/python/samba/provision/__init__.py index 7107e9211d7..35c2bdf36ae 100644 --- a/python/samba/provision/__init__.py +++ b/python/samba/provision/__init__.py @@ -2433,7 +2433,7 @@ def provision(logger, session_info, smbconf=None, "symlink!") if serverrole == "active directory domain controller": - create_dns_update_list(lp, paths) + create_dns_update_list(paths) backend_result = provision_backend.post_setup() provision_backend.shutdown() diff --git a/python/samba/provision/sambadns.py b/python/samba/provision/sambadns.py index fc66ed63d3b..a8f1ed8f082 100644 --- a/python/samba/provision/sambadns.py +++ b/python/samba/provision/sambadns.py @@ -963,7 +963,7 @@ def create_samdb_copy(samdb, logger, paths, names, domainsid, domainguid): set permissions to sam.ldb* files manually""") -def create_dns_update_list(lp, paths): +def create_dns_update_list(paths): """Write out a dns_update_list file""" # note that we use no variable substitution on this file # the substitution is done at runtime by samba_dnsupdate, samba_spnupdate