summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e068a64)
raw | patch | inline | side by side (parent: e068a64)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Tue, 11 Jun 2002 06:41:50 +0000 (06:41 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Tue, 11 Jun 2002 06:41:50 +0000 (06:41 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@776 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/admin.py | patch | blob | history |
diff --git a/roundup/admin.py b/roundup/admin.py
index 663bea7dbfcee51727db69d4f57b6659cf4aacc5..8f086f35e8a508b362e932b87cbde49c08daa0c2 100644 (file)
--- a/roundup/admin.py
+++ b/roundup/admin.py
# 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:
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.
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()
#
# $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
#