diff roundup/init.py @ 1467:378081f066cc

registration is now a two-step process with confirmation from the email address supplied in the registration form fixed [SF#687771] too (now handle all cases of @/:)
author Richard Jones <richard@users.sourceforge.net>
date Tue, 25 Feb 2003 10:19:32 +0000
parents db787cef1385
children 21312a7564fd
line wrap: on
line diff
--- a/roundup/init.py	Mon Feb 24 15:38:51 2003 +0000
+++ b/roundup/init.py	Tue Feb 25 10:19:32 2003 +0000
@@ -15,7 +15,7 @@
 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
 # 
-# $Id: init.py,v 1.24 2002-09-10 12:44:42 richard Exp $
+# $Id: init.py,v 1.25 2003-02-25 10:19:31 richard Exp $
 
 __doc__ = """
 Init (create) a roundup instance.
@@ -37,7 +37,6 @@
     links are copied.
 
     This was copied from shutil.py in std lib.
-
     """
     names = os.listdir(src)
     try:
@@ -55,7 +54,7 @@
         else:
             install_util.copyDigestedFile(srcname, dstname)
 
-def install(instance_home, template, backend):
+def install(instance_home, template):
     '''Install an instance using the named template and backend.
 
     instance_home - the directory to place the instance data in
@@ -97,6 +96,10 @@
 
     builder.installHtmlBase(template_name, instance_home)
 
+
+def write_select_db(instance_home, backend):
+    ''' Write the file that selects the backend for the tracker
+    '''
     # now select database
     db = '''# WARNING: DO NOT EDIT THIS FILE!!!
 from roundup.backends.back_%s import Database, Class, FileClass, IssueClass

Roundup Issue Tracker: http://roundup-tracker.org/