diff options
Diffstat (limited to 'source4/scripting/python/samba/netcmd')
-rw-r--r-- | source4/scripting/python/samba/netcmd/newuser.py | 2 | ||||
-rw-r--r-- | source4/scripting/python/samba/netcmd/pwsettings.py | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/source4/scripting/python/samba/netcmd/newuser.py b/source4/scripting/python/samba/netcmd/newuser.py index 651313a345..6f12de50e7 100644 --- a/source4/scripting/python/samba/netcmd/newuser.py +++ b/source4/scripting/python/samba/netcmd/newuser.py @@ -20,7 +20,7 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. import samba.getopt as options -from samba.netcmd import Command, CommandError, Option +from samba.netcmd import Command, Option from getpass import getpass from samba.auth import system_session diff --git a/source4/scripting/python/samba/netcmd/pwsettings.py b/source4/scripting/python/samba/netcmd/pwsettings.py index 30f6f20d68..50525cc5ce 100644 --- a/source4/scripting/python/samba/netcmd/pwsettings.py +++ b/source4/scripting/python/samba/netcmd/pwsettings.py @@ -22,10 +22,7 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. # -import sys - import samba.getopt as options -import optparse import ldb from samba.auth import system_session |