[Zodb-checkins] CVS: ZODB3/ZODB - StorageTypes.py:1.5

Barry Warsaw barry@wooz.org
Wed, 18 Dec 2002 17:15:36 -0500


Update of /cvs-repository/ZODB3/ZODB
In directory cvs.zope.org:/tmp/cvs-serv15273/ZODB

Modified Files:
	StorageTypes.py 
Log Message:
For alignment with ZODB4, renaming these storages for ZODB3 3.2.

bsddb3Storage becomes BDBStorage
Full becomes BDBFullStorage
Minimal becomes BDBMinimalStorage

Removing MinimalReplicated.py, Packless.py, and base.py


=== ZODB3/ZODB/StorageTypes.py 1.4 => 1.5 ===
--- ZODB3/ZODB/StorageTypes.py:1.4	Wed Dec  4 23:44:20 2002
+++ ZODB3/ZODB/StorageTypes.py	Wed Dec 18 17:15:04 2002
@@ -93,7 +93,7 @@
 
 
 def convertBDBStorageArgs(**kw):
-    from bsddb3Storage.BerkeleyBase import BerkeleyConfig
+    from BDBStorage.BerkeleyBase import BerkeleyConfig
     config = BerkeleyConfig()
     for name in dir(BerkeleyConfig):
         if name.startswith('_'):
@@ -116,6 +116,7 @@
     'MappingStorage': ('ZODB.MappingStorage', None),
     'TemporaryStorage': ('Products.TemporaryFolder.TemporaryStorage', None),
     'ClientStorage': ('ZEO.ClientStorage', convertClientStorageArgs),
-    'Full': ('bsddb3Storage.Full', convertBDBStorageArgs),
-    'Minimal': ('bsddb3Storage.Minimal', convertBDBStorageArgs),
+    'BDBFullStorage': ('BDBStorage.BDBFullStorage', convertBDBStorageArgs),
+    'BDBMinimalStorage': ('BDBStorage.BDBMinimalStorage',
+                          convertBDBStorageArgs),
     }