From 07624d87ce4c1f9e1afcce02e66853fd5280cd49 Mon Sep 17 00:00:00 2001 From: richard Date: Tue, 11 Jun 2002 06:41:50 +0000 Subject: [PATCH] Removed prompt for admin email in initialisation. git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@776 57a73879-2fb5-44c3-a270-3262357dd7e2 --- roundup/admin.py | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/roundup/admin.py b/roundup/admin.py index 663bea7..8f086f3 100644 --- a/roundup/admin.py +++ b/roundup/admin.py @@ -16,7 +16,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: admin.py,v 1.13 2002-05-30 23:58:14 richard Exp $ +# $Id: admin.py,v 1.14 2002-06-11 06:41:50 richard Exp $ import sys, os, getpass, getopt, re, UserDict, shlex, shutil try: @@ -316,7 +316,7 @@ Command help: def do_initialise(self, instance_home, args): - '''Usage: initialise [adminpw [adminemail]] + '''Usage: initialise [adminpw] Initialise a new Roundup instance. The administrator details will be set at this step. @@ -333,14 +333,6 @@ Command help: adminpw = getpass.getpass(_('Admin Password: ')) confirm = getpass.getpass(_(' Confirm: ')) - # email - if len(args) > 2: - adminemail = args[2] - else: - adminemail = '' - while not adminemail: - adminemail = raw_input(_(' Admin Email: ')).strip() - # make sure the instance home is installed if not os.path.exists(instance_home): raise UsageError, _('Instance home does not exist')%locals() @@ -1121,6 +1113,9 @@ if __name__ == '__main__': # # $Log: not supported by cvs2svn $ +# Revision 1.13 2002/05/30 23:58:14 richard +# oops +# # Revision 1.12 2002/05/26 09:04:42 richard # out by one in the init args # -- 2.30.2