From 95e0df789c380b21bb2517ad9c135c00c5f01bfd Mon Sep 17 00:00:00 2001 From: Joseph Sutton Date: Thu, 23 Nov 2023 20:34:31 +1300 Subject: [PATCH] =?UTF-8?q?python:=20Remove=20unused=20parameter=20?= =?UTF-8?q?=E2=80=98lp=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- python/samba/provision/__init__.py | 2 +- python/samba/provision/sambadns.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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