summaryrefslogtreecommitdiff
path: root/source4/setup
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-06-11 00:10:43 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-06-11 00:10:43 +0200
commit31a2a98d83685a866052ce1aa08072d785c506b7 (patch)
treeccda110218dde9d288109f17b84ce8351ec50bd5 /source4/setup
parent230503ad847f9514e95b57c48eeacbd619a1c9f5 (diff)
downloadsamba-31a2a98d83685a866052ce1aa08072d785c506b7.tar.gz
samba-31a2a98d83685a866052ce1aa08072d785c506b7.tar.bz2
samba-31a2a98d83685a866052ce1aa08072d785c506b7.zip
Remove unused import, function.
(This used to be commit f134a701e7c2d64a684d55691fd66e2aaeb15812)
Diffstat (limited to 'source4/setup')
-rwxr-xr-xsource4/setup/newuser8
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)