[Zope-CVS] CVS: Products/Ape/lib/apelib/zope2/setup - dbtab.py:1.3
Shane Hathaway
shane at zope.com
Tue Feb 17 00:25:15 EST 2004
Update of /cvs-repository/Products/Ape/lib/apelib/zope2/setup
In directory cvs.zope.org:/tmp/cvs-serv17338/lib/apelib/zope2/setup
Modified Files:
dbtab.py
Log Message:
Another big pile of changes resulted from a little time. :-)
>From CHANGES.txt:
- Removed the concepts of "classified state" and "hints", now
relying on the existing concepts of classification and state. This
primarily involved changes to classifiers and the apelib.core.io
module.
- Implemented the folder item classification optimization. Now,
when Ape loads a folder, it passes along the classification of each
subitem as part of the containing folder's state. This means fewer
round-trips.
Also fixed a couple of shallow bugs that prevented Ape from starting in
Zope.
=== Products/Ape/lib/apelib/zope2/setup/dbtab.py 1.2 => 1.3 ===
--- Products/Ape/lib/apelib/zope2/setup/dbtab.py:1.2 Tue Apr 29 18:11:52 2003
+++ Products/Ape/lib/apelib/zope2/setup/dbtab.py Tue Feb 17 00:25:14 2004
@@ -17,13 +17,13 @@
"""
def convertApeStorageArgs(name, factory=None, **kw):
- from apelib.zodb3.db import callMapperFactory
+ from apelib.zodb3.db import callConfFactory
from apelib.zodb3.resource import StaticResource
if factory is None:
raise ValueError('factory is required')
- mapper, connections = callMapperFactory(factory, kw)
+ conf, connections = callConfFactory(factory, kw)
return {
- 'mapper_resource': StaticResource(mapper),
+ 'conf_resource': StaticResource(conf),
'connections': connections,
'name': name,
}
More information about the Zope-CVS
mailing list