[Zope3-checkins] CVS: Zope3/src/zodb/storage - file.py:1.8.2.1

Jeremy Hylton jeremy@zope.com
Fri, 14 Feb 2003 15:33:54 -0500


Update of /cvs-repository/Zope3/src/zodb/storage
In directory cvs.zope.org:/tmp/cvs-serv30869/storage

Modified Files:
      Tag: ZODB3-2-integration-branch
	file.py 
Log Message:
Remove DB helper function.  Use ZConfig instead.


=== Zope3/src/zodb/storage/file.py 1.8 => 1.8.2.1 ===
--- Zope3/src/zodb/storage/file.py:1.8	Wed Feb  5 18:28:32 2003
+++ Zope3/src/zodb/storage/file.py	Fri Feb 14 15:33:53 2003
@@ -212,13 +212,6 @@
 class FileStorageQuotaError(FileStorageError, StorageSystemError):
     """File storage quota exceeded."""
 
-def DB(file_name, create=0, read_only=0, stop=None, quota=None,
-       pool_size=7, cache_size=400):
-    """Create new object database using FileStorage file_name."""
-    fs = FileStorage(file_name, create, read_only, stop, quota)
-    db = zodb.db.DB(fs, pool_size, cache_size)
-    return db
-
 class FileStorageFormatter:
     """Mixin class that can read and write the low-level format."""