From: Douglas Bagnall Date: Thu, 15 Sep 2022 23:38:08 +0000 (+1200) Subject: pytests:s4/drs/linked_attributes_drs: avoid unused imports X-Git-Tag: talloc-2.4.0~962 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f9fedd744c1f5144518efbe975330ea0df1cfd0;p=thirdparty%2Fsamba.git pytests:s4/drs/linked_attributes_drs: avoid unused imports Signed-off-by: Douglas Bagnall Reviewed-by: Andrew Bartlett --- diff --git a/source4/torture/drs/python/linked_attributes_drs.py b/source4/torture/drs/python/linked_attributes_drs.py index aa815ff2bce..93ad3130f03 100644 --- a/source4/torture/drs/python/linked_attributes_drs.py +++ b/source4/torture/drs/python/linked_attributes_drs.py @@ -2,29 +2,15 @@ # -*- coding: utf-8 -*- # Originally based on ./sam.py import sys -import os -import base64 -import random -import re sys.path.insert(0, "bin/python") -import samba -from samba.tests.subunitrun import SubunitOptions, TestProgram - -import samba.getopt as options - -from samba.auth import system_session import ldb -from samba.samdb import SamDB -from samba.dcerpc import drsuapi, misc, drsblobs -from samba.drs_utils import drs_DsBind +from samba.dcerpc import drsuapi, misc from samba.ndr import ndr_unpack, ndr_pack import drs_base -import time - class LATestException(Exception): pass