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

Barry Warsaw barry@wooz.org
Fri, 22 Nov 2002 16:06:42 -0500


Update of /cvs-repository/ZODB3/ZConfig
In directory cvs.zope.org:/tmp/cvs-serv4763

Modified Files:
	StorageTypes.py 
Log Message:
convertFullStorageArgs(): Renamed to convertBDBStorageArgs since
Minimal can use exactly the same converter.

storage_types: added Minimal storage.


=== ZODB3/ZConfig/StorageTypes.py 1.4 => 1.5 ===
--- ZODB3/ZConfig/StorageTypes.py:1.4	Fri Nov 22 15:08:10 2002
+++ ZODB3/ZConfig/StorageTypes.py	Fri Nov 22 16:06:42 2002
@@ -92,7 +92,7 @@
     return kw
 
 
-def convertFullStorageArgs(**kw):
+def convertBDBStorageArgs(**kw):
     from bsddb3Storage.BerkeleyBase import BerkeleyConfig
     config = BerkeleyConfig()
     for name in dir(BerkeleyConfig):
@@ -116,5 +116,6 @@
     'MappingStorage': ('ZODB.MappingStorage', None),
     'TemporaryStorage': ('Products.TemporaryFolder.TemporaryStorage', None),
     'ClientStorage': ('ZEO.ClientStorage', convertClientStorageArgs),
-    'Full': ('bsddb3Storage.Full', convertFullStorageArgs),
+    'Full': ('bsddb3Storage.Full', convertBDBStorageArgs),
+    'Minimal': ('bsddb3Storage.Minimal', convertBDBStorageArgs),
     }