1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-09 08:58:35 +03:00

python: Remove unused parameter ‘targetdir’

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Joseph Sutton 2023-11-23 20:30:55 +13:00 committed by Andrew Bartlett
parent f9b22c6d5e
commit 7e65a368d6

View File

@ -765,7 +765,7 @@ def create_dns_dir_keytab_link(logger, paths):
bind_dns_keytab_path, paths.bind_gid)
def create_zone_file(lp, logger, paths, targetdir, dnsdomain,
def create_zone_file(lp, logger, paths, dnsdomain,
hostip, hostip6, hostname, realm, domainguid,
ntdsguid, site):
"""Write out a DNS zone file, from the info in the current database.
@ -1310,7 +1310,7 @@ def setup_bind9_dns(samdb, secretsdb, names, paths, lp, logger,
create_dns_dir_keytab_link(logger, paths)
if dns_backend == "BIND9_FLATFILE":
create_zone_file(lp, logger, paths, targetdir, site=site,
create_zone_file(lp, logger, paths, site=site,
dnsdomain=names.dnsdomain, hostip=hostip,
hostip6=hostip6, hostname=names.hostname,
realm=names.realm, domainguid=domainguid,