diff options
author | Joseph Sutton <josephsutton@catalyst.net.nz> | 2022-04-11 11:50:25 +1200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2022-05-05 00:27:33 +0000 |
commit | c3b2dae027eeb980227160ab7ded7fe108b0ea14 (patch) | |
tree | 6f70620d4371f75239e986ba267abc41445ed040 | |
parent | 332b874a1665c0f3003bacfb3a3b28d55677cf74 (diff) | |
download | samba-c3b2dae027eeb980227160ab7ded7fe108b0ea14.tar.gz |
samba-tool user: Remove unused imports
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
-rw-r--r-- | python/samba/netcmd/user.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/python/samba/netcmd/user.py b/python/samba/netcmd/user.py index 4d181ea793b..7956d129861 100644 --- a/python/samba/netcmd/user.py +++ b/python/samba/netcmd/user.py @@ -22,8 +22,6 @@ import ldb import pwd import os import io -import re -import difflib import fcntl import signal import errno @@ -33,11 +31,11 @@ import binascii from subprocess import Popen, PIPE, STDOUT, check_call, CalledProcessError from getpass import getpass from samba.auth import system_session -from samba.samdb import SamDB, SamDBError, SamDBNotFoundError +from samba.samdb import SamDB, SamDBError from samba.dcerpc import misc from samba.dcerpc import security from samba.dcerpc import drsblobs -from samba.ndr import ndr_unpack, ndr_pack, ndr_print +from samba.ndr import ndr_unpack from samba import ( credentials, dsdb, |