From 31a2a98d83685a866052ce1aa08072d785c506b7 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 11 Jun 2008 00:10:43 +0200 Subject: Remove unused import, function. (This used to be commit f134a701e7c2d64a684d55691fd66e2aaeb15812) --- source4/setup/newuser | 8 -------- 1 file changed, 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) -- cgit