diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2010-03-01 04:46:40 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-03-01 04:46:51 +0100 |
commit | 31a718aa27bcf3f56347a109f6d0bb553814c052 (patch) | |
tree | 3c4d5dba41a7811a52c0ff889bfeaf9786644abb /source4/scripting/python/samba/netcmd | |
parent | 1ef50d5de4e1341703a35200e4c90ec4fba0ce89 (diff) | |
download | samba-31a718aa27bcf3f56347a109f6d0bb553814c052.tar.gz samba-31a718aa27bcf3f56347a109f6d0bb553814c052.tar.xz samba-31a718aa27bcf3f56347a109f6d0bb553814c052.zip |
General cleanups of python code, hinted by pyflakes.
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 |