[CalendarServer-changes] [390] CalendarServer/branches/users/wsanchez/provisioning/twistedcaldav

source_changes at macosforge.org source_changes at macosforge.org
Tue Nov 7 18:53:14 PST 2006


Revision: 390
          http://trac.macosforge.org/projects/calendarserver/changeset/390
Author:   wsanchez at apple.com
Date:     2006-11-07 18:53:13 -0800 (Tue, 07 Nov 2006)

Log Message:
-----------
log

Modified Paths:
--------------
    CalendarServer/branches/users/wsanchez/provisioning/twistedcaldav/directory/resource.py
    CalendarServer/branches/users/wsanchez/provisioning/twistedcaldav/static.py

Modified: CalendarServer/branches/users/wsanchez/provisioning/twistedcaldav/directory/resource.py
===================================================================
--- CalendarServer/branches/users/wsanchez/provisioning/twistedcaldav/directory/resource.py	2006-11-08 02:18:35 UTC (rev 389)
+++ CalendarServer/branches/users/wsanchez/provisioning/twistedcaldav/directory/resource.py	2006-11-08 02:53:13 UTC (rev 390)
@@ -35,7 +35,7 @@
 from twistedcaldav.static import CalendarPrincipalFile
 from twistedcaldav.directory.idirectory import IDirectoryService
 
-# FIXME: These should be tied to DAVFile
+# FIXME: These should not be tied to DAVFile
 
 class DirectoryPrincipalProvisioningResource (ReadOnlyResourceMixIn, CalendarPrincipalCollectionResource, DAVFile):
     """
@@ -52,12 +52,8 @@
         self.directory = IDirectoryService(directory)
 
     def createSimilarFile(self, path):
-        raise AssertionError("Not allowed.")
+        raise AssertionError("createSimilarFile() not allowed in DirectoryPrincipalProvisioningResource.")
 
-    # FIXME: Remove
-    def initialize(self, homeuri, home):
-        log.msg("*** Get rid of initialize() ***")
-
     def getChild(self, name):
         if name == "":
             return self
@@ -91,7 +87,7 @@
         self.recordType = name
 
     def createSimilarFile(self, path):
-        raise AssertionError("Not allowed.")
+        raise AssertionError("createSimilarFile() not allowed in DirectoryPrincipalTypeResource.")
 
     def getChild(self, name):
         if name == "":

Modified: CalendarServer/branches/users/wsanchez/provisioning/twistedcaldav/static.py
===================================================================
--- CalendarServer/branches/users/wsanchez/provisioning/twistedcaldav/static.py	2006-11-08 02:18:35 UTC (rev 389)
+++ CalendarServer/branches/users/wsanchez/provisioning/twistedcaldav/static.py	2006-11-08 02:53:13 UTC (rev 390)
@@ -673,7 +673,7 @@
         return self.calendarHomeClass(child_fp.path)
 
     def createSimilarFile(self, path):
-        raise NotImplementedError("Not allowed")
+        raise NotImplementedError("createSimilarFile() not allowed in CalendarHomeProvisioningFile.")
 
     def http_PUT        (self, request): return responsecode.FORBIDDEN
     def http_MKCOL      (self, request): return responsecode.FORBIDDEN

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


More information about the calendarserver-changes mailing list