comparison roundup/templates/classic/dbinit.py @ 604:13719594278b config-0-4-0-branch

I've re-worked the config structure a little so it's simpler (one less file) and added a unit test so we can be sure it's working.
author Richard Jones <richard@users.sourceforge.net>
date Wed, 06 Feb 2002 07:11:13 +0000
parents c242455d9b46
children
comparison
equal deleted inserted replaced
603:986354c4b1fb 604:13719594278b
13 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 13 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
14 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" 14 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS"
15 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, 15 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
16 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. 16 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
17 # 17 #
18 # $Id: dbinit.py,v 1.13.2.2 2002-02-06 04:05:54 richard Exp $ 18 # $Id: dbinit.py,v 1.13.2.3 2002-02-06 07:11:12 richard Exp $
19 19
20 import os 20 import os
21 21
22 import instance_config
23 from roundup import roundupdb 22 from roundup import roundupdb
24 import select_db 23 import select_db
25 24
26 from roundup.roundupdb import Class, FileClass 25 from roundup.roundupdb import Class, FileClass
27 26
120 address=instance_config.get_default_admin_email()) 119 address=instance_config.get_default_admin_email())
121 db.commit() 120 db.commit()
122 121
123 # 122 #
124 # $Log: not supported by cvs2svn $ 123 # $Log: not supported by cvs2svn $
124 # Revision 1.13.2.2 2002/02/06 04:05:54 richard
125 # Brought the config branch up to date with HEAD
126 #
125 # Revision 1.14 2002/01/14 02:20:15 richard 127 # Revision 1.14 2002/01/14 02:20:15 richard
126 # . changed all config accesses so they access either the instance or the 128 # . changed all config accesses so they access either the instance or the
127 # config attriubute on the db. This means that all config is obtained from 129 # config attriubute on the db. This means that all config is obtained from
128 # instance_config instead of the mish-mash of classes. This will make 130 # instance_config instead of the mish-mash of classes. This will make
129 # switching to a ConfigParser setup easier too, I hope. 131 # switching to a ConfigParser setup easier too, I hope.

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