[CalendarServer-changes] [258] CalendarServer/trunk/twistedcaldav/static.py

source_changes at macosforge.org source_changes at macosforge.org
Thu Oct 5 18:08:10 PDT 2006


Revision: 258
          http://trac.macosforge.org/projects/calendarserver/changeset/258
Author:   wsanchez at apple.com
Date:     2006-10-05 18:08:10 -0700 (Thu, 05 Oct 2006)

Log Message:
-----------
Couple of bozo bugs

Modified Paths:
--------------
    CalendarServer/trunk/twistedcaldav/static.py

Modified: CalendarServer/trunk/twistedcaldav/static.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/static.py	2006-10-06 00:14:31 UTC (rev 257)
+++ CalendarServer/trunk/twistedcaldav/static.py	2006-10-06 01:08:10 UTC (rev 258)
@@ -112,7 +112,7 @@
         #
         def onCollection(status):
             if status != responsecode.CREATED:
-                raise HTTPError(result)
+                raise HTTPError(status)
     
             self.writeDeadProperty(davxml.ResourceType.calendar)
             return status
@@ -603,7 +603,7 @@
         if path == self.fp.path:
             return self
         else:
-            return self.CalDAVFile(path)
+            return CalDAVFile(path)
 
     def locateChild(self, request, segments):
         return locateExistingChild(self, request, segments)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20061005/a025f329/attachment.html


More information about the calendarserver-changes mailing list