[Zope-CVS] CVS: Products/Ape/lib/apelib/config - apeconf.py:1.4.2.3

Shane Hathaway shane at zope.com
Tue Dec 23 00:53:06 EST 2003


Update of /cvs-repository/Products/Ape/lib/apelib/config
In directory cvs.zope.org:/tmp/cvs-serv30737/lib/apelib/config

Modified Files:
      Tag: ape-0_8-branch
	apeconf.py 
Log Message:
The PostgreSQL tests now pass.

Some minor changes to interfaces were necessary in order to 
find and call all database initializers.


=== Products/Ape/lib/apelib/config/apeconf.py 1.4.2.2 => 1.4.2.3 ===
--- Products/Ape/lib/apelib/config/apeconf.py:1.4.2.2	Sat Dec 20 23:24:02 2003
+++ Products/Ape/lib/apelib/config/apeconf.py	Tue Dec 23 00:52:35 2003
@@ -461,6 +461,9 @@
     classifier = cs.get('classifier', '')
     oid_gen = cs.get('oid_generator', '')
     conf = MapperConfiguration(mappers, classifier, oid_gen)
+    for obj in (classifier.gateway, oid_gen):
+        if IDatabaseInitializer.isImplementedBy(obj):
+            conf.initializers.append(obj)
     conf.check()
     return conf
 




More information about the Zope-CVS mailing list