[Zope-Checkins] CVS: Zope/lib/python/Zope/Startup - datatypes.py:1.9

Chris McDonough chrism@zope.com
Sat, 19 Jul 2003 23:04:17 -0400


Update of /cvs-repository/Zope/lib/python/Zope/Startup
In directory cvs.zope.org:/tmp/cvs-serv7269/lib/python/Zope/Startup

Modified Files:
	datatypes.py 
Log Message:
Name the default database 'main' to prevent getattr error in db control panel.


=== Zope/lib/python/Zope/Startup/datatypes.py 1.8 => 1.9 ===
--- Zope/lib/python/Zope/Startup/datatypes.py:1.8	Sat Jul 19 22:56:14 2003
+++ Zope/lib/python/Zope/Startup/datatypes.py	Sat Jul 19 23:04:12 2003
@@ -213,7 +213,7 @@
     fs_ns.read_only = None
     fs_ns.quota = None
     storage = FileStorage(fs_ns)
-    db_ns = dummy('default zodb database using filestorage at %s' % path)
+    db_ns = dummy('main')
     db_ns.storage = storage
     db_ns.cache_size = 5000
     db_ns.pool_size = 7