[Zope3-checkins] CVS: Zope3/src/zope/app/container - find.py:1.8
Jim Fulton
jim at zope.com
Sun Sep 21 13:31:34 EDT 2003
Update of /cvs-repository/Zope3/src/zope/app/container
In directory cvs.zope.org:/tmp/cvs-serv13264/src/zope/app/container
Modified Files:
find.py
Log Message:
No-longer use context wrappers.
=== Zope3/src/zope/app/container/find.py 1.7 => 1.8 ===
--- Zope3/src/zope/app/container/find.py:1.7 Fri Sep 5 14:43:20 2003
+++ Zope3/src/zope/app/container/find.py Sun Sep 21 13:31:34 2003
@@ -19,8 +19,6 @@
from zope.app.interfaces.find import IFind, IIdFindFilter
from zope.app.interfaces.container import IReadContainer
from zope.interface import implements
-# XXX need to do this manually to wrap objects
-from zope.app.context import ContextWrapper
class FindAdapter(object):
@@ -38,7 +36,6 @@
result = []
container = self._context
for id, object in container.items():
- object = ContextWrapper(object, container, name=id)
_find_helper(id, object, container,
id_filters, object_filters,
result)
@@ -64,7 +61,6 @@
container = object
for id, object in container.items():
- object = ContextWrapper(object, container, name=id)
_find_helper(id, object, container, id_filters, object_filters, result)
class SimpleIdFindFilter(object):
More information about the Zope3-Checkins
mailing list