[Zope-CVS] CVS: Packages/Moztop/moztopsupport/dav - configure.zcml:1.3 propfind.py:1.3
Sidnei da Silva
sidnei@x3ng.com.br
Mon, 24 Mar 2003 11:16:07 -0500
Update of /cvs-repository/Packages/Moztop/moztopsupport/dav
In directory cvs.zope.org:/tmp/cvs-serv30759/dav
Modified Files:
configure.zcml propfind.py
Log Message:
Ops, fixed some typoes. Need a better way to compare XML response.
=== Packages/Moztop/moztopsupport/dav/configure.zcml 1.2 => 1.3 ===
--- Packages/Moztop/moztopsupport/dav/configure.zcml:1.2 Mon Mar 24 10:38:23 2003
+++ Packages/Moztop/moztopsupport/dav/configure.zcml Mon Mar 24 11:15:37 2003
@@ -10,9 +10,9 @@
/>
<browser:page
- for="zope.app.interfaces.content.IZPTPage"
- name="D:source"
- class=".views.ZPTDAVSource
+ for="zope.app.interfaces.content.zpt.IZPTPage"
+ name="DAVsource"
+ class=".views.ZPTDAVSource"
permission="zope.ManageContent"
/>
=== Packages/Moztop/moztopsupport/dav/propfind.py 1.2 => 1.3 ===
--- Packages/Moztop/moztopsupport/dav/propfind.py:1.2 Mon Mar 24 10:38:23 2003
+++ Packages/Moztop/moztopsupport/dav/propfind.py Mon Mar 24 11:15:37 2003
@@ -69,15 +69,12 @@
return self._xml % ({'resource_url':resource_url,
'response':response})
- _xml = '''
- <?xml version="1.0" encoding="utf-8" ?>
+ _xml = '''<?xml version="1.0" encoding="utf-8" ?>
<D:multistatus xmlns:D="DAV:">
<D:response>
<D:href>%(resource_url)s</D:href>
<D:propstat>
- <D:prop>
- %(response)s
- </D:prop>
+ <D:prop>%(response)s</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>