[Zope3-checkins] CVS: Zope3/src/zope/app/dav - propfind.py:1.12
Jim Fulton
jim at zope.com
Sun Sep 21 13:32:05 EDT 2003
Update of /cvs-repository/Zope3/src/zope/app/dav
In directory cvs.zope.org:/tmp/cvs-serv13889/src/zope/app/dav
Modified Files:
propfind.py
Log Message:
No longer use the zope container adapter.
=== Zope3/src/zope/app/dav/propfind.py 1.11 => 1.12 ===
--- Zope3/src/zope/app/dav/propfind.py:1.11 Mon Jun 23 13:17:02 2003
+++ Zope3/src/zope/app/dav/propfind.py Sun Sep 21 13:32:04 2003
@@ -17,7 +17,6 @@
from xml.dom import minidom
from zope.component import getView, queryView, queryAdapter
-from zope.app.context import ContextWrapper
from zope.proxy import removeAllProxies
from zope.schema import getFieldNamesInOrder
from zope.app.interfaces.container import IReadContainer
@@ -169,8 +168,7 @@
if depth != '0':
if IReadContainer.isImplementedBy(self.context):
for id, obj in self.context.items():
- wrapped = ContextWrapper(obj, self.context, name=id)
- pfind = queryView(wrapped, 'PROPFIND', self.request, None)
+ pfind = queryView(obj, 'PROPFIND', self.request, None)
if pfind is not None:
pfind.setDepth(subdepth)
value = pfind.PROPFIND()
More information about the Zope3-Checkins
mailing list