[Zope-Checkins] CVS: Zope2 - NullResource.py:1.29.4.1 Resource.py:1.45.4.1 davcmds.py:1.13.16.1

andreas@serenade.digicool.com andreas@serenade.digicool.com
Mon, 2 Jul 2001 11:44:18 -0400


Update of /cvs-repository/Zope2/lib/python/webdav
In directory serenade:/tmp/cvs-serv12352

Modified Files:
      Tag: Zope-2_4-branch
	NullResource.py Resource.py davcmds.py 
Log Message:
fixed several typos: Depth header is either '0' or 'infinity' but not 'infinite'



--- Updated File NullResource.py in package Zope2 --
--- NullResource.py	2001/06/07 22:18:46	1.29
+++ NullResource.py	2001/07/02 15:44:17	1.29.4.1
@@ -232,7 +232,7 @@
         creator = security.getUser()
         body = REQUEST.get('BODY', '')
         ifhdr = REQUEST.get_header('If', '')
-        depth = REQUEST.get_header('Depth', 'infinite')
+        depth = REQUEST.get_header('Depth', 'infinity')
 
         name = self.__name__
         parent = self.__parent__

--- Updated File Resource.py in package Zope2 --
--- Resource.py	2001/05/23 19:09:32	1.45
+++ Resource.py	2001/07/02 15:44:17	1.45.4.1
@@ -538,7 +538,7 @@
         creator = security.getUser()
         body = REQUEST.get('BODY', '')
         ifhdr = REQUEST.get_header('If', None)
-        depth = REQUEST.get_header('Depth', 'infinite')
+        depth = REQUEST.get_header('Depth', 'infinity')
         alreadylocked = Lockable.wl_isLocked(self)
 
         if body and alreadylocked:

--- Updated File davcmds.py in package Zope2 --
--- davcmds.py	2001/04/27 18:07:19	1.13
+++ davcmds.py	2001/07/02 15:44:17	1.13.16.1
@@ -226,6 +226,7 @@
                     if dflag: ob._p_deactivate()
         if not top: return result
         result.write('</d:multistatus>')
+        print result.getvalue()
         return result.getvalue()