[CalendarServer-changes] [570] CalendarServer/branches/users/wsanchez/provisioning-2/twistedcaldav/ directory

source_changes at macosforge.org source_changes at macosforge.org
Wed Nov 22 15:09:53 PST 2006


Revision: 570
          http://trac.macosforge.org/projects/calendarserver/changeset/570
Author:   wsanchez at apple.com
Date:     2006-11-22 15:09:53 -0800 (Wed, 22 Nov 2006)

Log Message:
-----------
Directory service implementations don't need to know about HTTP resources.

Modified Paths:
--------------
    CalendarServer/branches/users/wsanchez/provisioning-2/twistedcaldav/directory/directory.py
    CalendarServer/branches/users/wsanchez/provisioning-2/twistedcaldav/directory/idirectory.py

Modified: CalendarServer/branches/users/wsanchez/provisioning-2/twistedcaldav/directory/directory.py
===================================================================
--- CalendarServer/branches/users/wsanchez/provisioning-2/twistedcaldav/directory/directory.py	2006-11-22 23:04:08 UTC (rev 569)
+++ CalendarServer/branches/users/wsanchez/provisioning-2/twistedcaldav/directory/directory.py	2006-11-22 23:09:53 UTC (rev 570)
@@ -112,14 +112,6 @@
     def verifyCredentials(self, credentials):
         return False
 
-    def principalResource(self):
-        """
-        Return the principal resource that was provisioned from
-        this directory record.
-        @return: L{CalendarPrincipalResource}
-        """
-        return self.service.provisioner.principalForRecord(self)
-
 class DirectoryError(RuntimeError):
     """
     Generic directory error.

Modified: CalendarServer/branches/users/wsanchez/provisioning-2/twistedcaldav/directory/idirectory.py
===================================================================
--- CalendarServer/branches/users/wsanchez/provisioning-2/twistedcaldav/directory/idirectory.py	2006-11-22 23:04:08 UTC (rev 569)
+++ CalendarServer/branches/users/wsanchez/provisioning-2/twistedcaldav/directory/idirectory.py	2006-11-22 23:09:53 UTC (rev 570)
@@ -91,10 +91,3 @@
         @return: C{True} if the given credentials match this record,
             C{False} otherwise.
         """
-
-    def principalResource():
-        """
-        Return the principal resource that was provisioned from
-        this directory record.
-        @return: L{CalendarPrincipalResource}
-        """

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


More information about the calendarserver-changes mailing list