Mercurial > p > roundup > code
comparison templates/classic/dbinit.py @ 1922:84b6d5b07626 maint-0.6
testing fixes for mysql, backported from HEAD
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Fri, 14 Nov 2003 02:47:56 +0000 |
| parents | 21312a7564fd |
| children |
comparison
equal
deleted
inserted
replaced
| 1921:4ad75ca452d9 | 1922:84b6d5b07626 |
|---|---|
| 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.1 2003-04-17 03:26:03 richard Exp $ | 18 # $Id: dbinit.py,v 1.1.2.1 2003-11-14 02:47:56 richard Exp $ |
| 19 | 19 |
| 20 import os | 20 import os |
| 21 | 21 |
| 22 import config | 22 import config |
| 23 from select_db import Database, Class, FileClass, IssueClass | 23 from select_db import Database, Class, FileClass, IssueClass |
| 196 | 196 |
| 197 # add any additional database create steps here - but only if you | 197 # add any additional database create steps here - but only if you |
| 198 # haven't initialised the database with the admin "initialise" command | 198 # haven't initialised the database with the admin "initialise" command |
| 199 | 199 |
| 200 db.commit() | 200 db.commit() |
| 201 db.close() | |
| 201 | 202 |
| 202 # vim: set filetype=python ts=4 sw=4 et si | 203 # vim: set filetype=python ts=4 sw=4 et si |
| 203 | 204 |
