Skip to content

Commit c9eb286

Browse files
author
Richard Jones
committed
Removed prompt for admin email in initialisation.
1 parent 06e375c commit c9eb286

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

roundup/admin.py

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1717
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1818
#
19-
# $Id: admin.py,v 1.13 2002-05-30 23:58:14 richard Exp $
19+
# $Id: admin.py,v 1.14 2002-06-11 06:41:50 richard Exp $
2020

2121
import sys, os, getpass, getopt, re, UserDict, shlex, shutil
2222
try:
@@ -316,7 +316,7 @@ def do_install(self, instance_home, args):
316316

317317

318318
def do_initialise(self, instance_home, args):
319-
'''Usage: initialise [adminpw [adminemail]]
319+
'''Usage: initialise [adminpw]
320320
Initialise a new Roundup instance.
321321
322322
The administrator details will be set at this step.
@@ -333,14 +333,6 @@ def do_initialise(self, instance_home, args):
333333
adminpw = getpass.getpass(_('Admin Password: '))
334334
confirm = getpass.getpass(_(' Confirm: '))
335335

336-
# email
337-
if len(args) > 2:
338-
adminemail = args[2]
339-
else:
340-
adminemail = ''
341-
while not adminemail:
342-
adminemail = raw_input(_(' Admin Email: ')).strip()
343-
344336
# make sure the instance home is installed
345337
if not os.path.exists(instance_home):
346338
raise UsageError, _('Instance home does not exist')%locals()
@@ -1121,6 +1113,9 @@ def main(self):
11211113

11221114
#
11231115
# $Log: not supported by cvs2svn $
1116+
# Revision 1.13 2002/05/30 23:58:14 richard
1117+
# oops
1118+
#
11241119
# Revision 1.12 2002/05/26 09:04:42 richard
11251120
# out by one in the init args
11261121
#

0 commit comments

Comments
 (0)