[Zope3-checkins] CVS: ZODB4/ZODB - StorageTypes.py:1.2

Barry Warsaw barry@wooz.org
Wed, 4 Dec 2002 16:19:27 -0500


Update of /cvs-repository/ZODB4/ZODB
In directory cvs.zope.org:/tmp/cvs-serv10071

Modified Files:
	StorageTypes.py 
Log Message:
Update to new BDBStorage naming conventions


=== ZODB4/ZODB/StorageTypes.py 1.1 => 1.2 ===
--- ZODB4/ZODB/StorageTypes.py:1.1	Sat Nov 23 01:57:02 2002
+++ ZODB4/ZODB/StorageTypes.py	Wed Dec  4 16:19:26 2002
@@ -94,7 +94,7 @@
 
 # Currently unused
 def convertBDBStorageArgs(**kw):
-    from bsddb3Storage.BerkeleyBase import BerkeleyConfig
+    from BDBStorage.BerkeleyBase import BerkeleyConfig
     config = BerkeleyConfig()
     for name in dir(BerkeleyConfig):
         if name.startswith('_'):
@@ -115,6 +115,7 @@
     'FileStorage': ('ZODB.FileStorage', convertFileStorageArgs),
     'MappingStorage': ('ZODB.MappingStorage', None),
     'ClientStorage': ('ZEO.ClientStorage', convertClientStorageArgs),
-##    'Full': ('bsddb3Storage.Full', convertBDBStorageArgs),
-##    'Minimal': ('bsddb3Storage.Minimal', convertBDBStorageArgs),
+    'BDBFullStorage': ('BDBStorage.BDBFullStorage', convertBDBStorageArgs),
+    'BDBMinimalStorage': ('BDBStorage.BDBMinimalStorage',
+                          convertBDBStorageArgs),
     }