[Zodb-checkins] CVS: ZODB3/ZODB - config.py:1.1.4.4

Fred L. Drake, Jr. fred@zope.com
Fri, 3 Jan 2003 01:18:21 -0500


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

Modified Files:
      Tag: zconfig-schema-devel-branch
	config.py 
Log Message:
Use getSectionType() instead of __type__.name.


=== ZODB3/ZODB/config.py 1.1.4.3 => 1.1.4.4 ===
--- ZODB3/ZODB/config.py:1.1.4.3	Thu Jan  2 18:34:14 2003
+++ ZODB3/ZODB/config.py	Fri Jan  3 01:18:18 2003
@@ -52,7 +52,7 @@
 class StorageOpener:
 
     def fromConfig(self, config):
-        meth = getattr(self, config.__type__.name)
+        meth = getattr(self, config.getSectionType())
         return meth(config)
 
     def mappingstorage(self, config):