[Zope-Checkins] CVS: Zope/lib/python/App - config.py:1.3
Chris McDonough
chrism@zope.com
Sun, 27 Apr 2003 16:46:23 -0400
Update of /cvs-repository/Zope/lib/python/App
In directory cvs.zope.org:/tmp/cvs-serv19261
Modified Files:
config.py
Log Message:
Allow Zope.startup() to work without loading a particular configuration.
=== Zope/lib/python/App/config.py 1.2 => 1.3 ===
--- Zope/lib/python/App/config.py:1.2 Mon Feb 24 15:11:10 2003
+++ Zope/lib/python/App/config.py Sun Apr 27 16:46:22 2003
@@ -71,7 +71,13 @@
class DefaultConfiguration:
def __init__(self):
from App import FindHomes
+ from Zope.Startup.datatypes import getDefaultDatabaseFactory
self.clienthome = FindHomes.CLIENT_HOME
self.instancehome = FindHomes.INSTANCE_HOME
self.softwarehome = FindHomes.SOFTWARE_HOME
self.zopehome = FindHomes.ZOPE_HOME
+ self.db_mount_tab = {'/':'main'}
+ self.db_name_tab = {'main':getDefaultDatabaseFactory(self)}
+
+
+