From: Douglas Bagnall Date: Sun, 17 Aug 2025 08:39:38 +0000 (+1200) Subject: samba-tool computer: remove unused imports X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16d670f0a52ae8d78188af0c741b79175d7169ff;p=thirdparty%2Fsamba.git samba-tool computer: remove unused imports Signed-off-by: Douglas Bagnall Reviewed-by: Gary Lockyer --- diff --git a/python/samba/netcmd/computer.py b/python/samba/netcmd/computer.py index 1413803cf8a..bb0b6ec0335 100644 --- a/python/samba/netcmd/computer.py +++ b/python/samba/netcmd/computer.py @@ -23,14 +23,13 @@ import samba.getopt as options import ldb import socket -import samba import re import os import tempfile from samba import sd_utils from samba.dcerpc import dnsserver, dnsp, security from samba.dnsserver import ARecord, AAAARecord -from samba.ndr import ndr_unpack, ndr_pack, ndr_print +from samba.ndr import ndr_unpack from samba.remove_dc import remove_dns_references from samba.auth import system_session from samba.samdb import SamDB @@ -39,9 +38,7 @@ from subprocess import check_call, CalledProcessError from . import common from samba import ( - credentials, dsdb, - Ldb, werror, WERRORError )