Mercurial > p > roundup > code
diff roundup/init.py @ 858:2dd862af72ee
all storage-specific code (ie. backend) is now implemented by the backends
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Sun, 14 Jul 2002 02:05:54 +0000 |
| parents | 7e093cbaaa98 |
| children | fb8a8eb55aac |
line wrap: on
line diff
--- a/roundup/init.py Sun Jul 14 02:02:43 2002 +0000 +++ b/roundup/init.py Sun Jul 14 02:05:54 2002 +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.19 2002-05-23 01:14:20 richard Exp $ +# $Id: init.py,v 1.20 2002-07-14 02:05:53 richard Exp $ __doc__ = """ Init (create) a roundup instance. @@ -98,7 +98,8 @@ # now select database db = '''# WARNING: DO NOT EDIT THIS FILE!!! -from roundup.backends.back_%s import Database'''%backend +from roundup.backends.back_%s import Database, Class, FileClass, IssueClass +'''%backend open(os.path.join(instance_home, 'select_db.py'), 'w').write(db) @@ -113,6 +114,10 @@ # # $Log: not supported by cvs2svn $ +# Revision 1.19 2002/05/23 01:14:20 richard +# . split instance initialisation into two steps, allowing config changes +# before the database is initialised. +# # Revision 1.18 2001/11/22 15:46:42 jhermann # Added module docstrings to all modules. #
