diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-06-11 00:10:43 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-06-11 00:10:43 +0200 |
commit | 31a2a98d83685a866052ce1aa08072d785c506b7 (patch) | |
tree | ccda110218dde9d288109f17b84ce8351ec50bd5 | |
parent | 230503ad847f9514e95b57c48eeacbd619a1c9f5 (diff) | |
download | samba-31a2a98d83685a866052ce1aa08072d785c506b7.tar.gz samba-31a2a98d83685a866052ce1aa08072d785c506b7.tar.bz2 samba-31a2a98d83685a866052ce1aa08072d785c506b7.zip |
Remove unused import, function.
(This used to be commit f134a701e7c2d64a684d55691fd66e2aaeb15812)
-rwxr-xr-x | source4/setup/newuser | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/source4/setup/newuser b/source4/setup/newuser index 991afa36d8..e6ab4eda2b 100755 --- a/source4/setup/newuser +++ b/source4/setup/newuser @@ -13,7 +13,6 @@ sys.path.insert(0, "bin/python") import samba.getopt as options import optparse -import pwd from getpass import getpass from samba.auth import system_session from samba.samdb import SamDB @@ -29,13 +28,6 @@ parser.add_option("--unixname", help="Unix Username", type=str) opts, args = parser.parse_args() -# -# print a message if quiet is not set -# -def message(text): - if not opts.quiet: - print text - if len(args) == 0: parser.print_usage() sys.exit(1) |