comparison templates/classic/dbinit.py @ 1904:9445caec3ff5

more database closing cleanups, finally mysql has no dangling references
author Richard Jones <richard@users.sourceforge.net>
date Mon, 10 Nov 2003 03:56:39 +0000
parents 21312a7564fd
children eb043e7d0899
comparison
equal deleted inserted replaced
1903:98b5f2c54dab 1904:9445caec3ff5
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.2 2003-11-10 03:56:39 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

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