[Zope-Checkins] CVS: ZODB3/ZODB - StorageConfig.py:1.2
Guido van Rossum
guido@python.org
Mon, 25 Nov 2002 09:54:05 -0500
Update of /cvs-repository/ZODB3/ZODB
In directory cvs.zope.org:/tmp/cvs-serv4315
Modified Files:
StorageConfig.py
Log Message:
If the section has a non-empty name, set args["name"] to section.name.
=== ZODB3/ZODB/StorageConfig.py 1.1 => 1.2 ===
--- ZODB3/ZODB/StorageConfig.py:1.1 Sat Nov 23 01:35:05 2002
+++ ZODB3/ZODB/StorageConfig.py Mon Nov 25 09:54:05 2002
@@ -65,6 +65,8 @@
klass = getattr(m, type)
args = {}
+ if section.name:
+ args["name"] = section.name
for key in section.keys():
if key.lower() != "type":
args[key] = section.get(key)