[Zope-CVS] CVS: Packages/Moztop/moztopsupport/dav - views.py:1.11
Sidnei da Silva
sidnei@x3ng.com.br
Thu, 3 Apr 2003 14:52:01 -0500
Update of /cvs-repository/Packages/Moztop/moztopsupport/dav
In directory cvs.zope.org:/tmp/cvs-serv24147/moztopsupport/dav
Modified Files:
views.py
Log Message:
Fixed problem with resourcetype
=== Packages/Moztop/moztopsupport/dav/views.py 1.10 => 1.11 ===
--- Packages/Moztop/moztopsupport/dav/views.py:1.10 Wed Apr 2 16:07:13 2003
+++ Packages/Moztop/moztopsupport/dav/views.py Thu Apr 3 14:52:00 2003
@@ -2,7 +2,6 @@
from zope.component import getView, getAdapter, queryAdapter
from zope.app.interfaces.traversing import IObjectName
from zope.app.interfaces.dublincore import IDCTimes
-from zope.app.interfaces.container import IReadContainer
from zope.app.interfaces.file import IReadFile
from zope.app.interfaces.file import IReadDirectory
from zope.app.interfaces.size import ISized
@@ -62,7 +61,7 @@
class DAVResourceType(BrowserView):
def __str__(self):
- value = queryAdapter(self.context, IReadContainer, None)
+ value = queryAdapter(self.context, IReadDirectory, None)
xml = minidom.Document()
if value is not None:
node = xml.createElement('collection')