From 31a718aa27bcf3f56347a109f6d0bb553814c052 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 1 Mar 2010 04:46:40 +0100 Subject: General cleanups of python code, hinted by pyflakes. --- source4/scripting/python/samba/netcmd/newuser.py | 2 +- source4/scripting/python/samba/netcmd/pwsettings.py | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'source4/scripting/python/samba/netcmd') 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 . 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 . # -import sys - import samba.getopt as options -import optparse import ldb from samba.auth import system_session -- cgit