[CalendarServer-changes] [1720] CalendarServer/branches/users/wsanchez/guid-cleanup/twistedcaldav/ directory/calendaruserproxy.py

source_changes at macosforge.org source_changes at macosforge.org
Thu Jul 26 17:37:50 PDT 2007


Revision: 1720
          http://trac.macosforge.org/projects/calendarserver/changeset/1720
Author:   wsanchez at apple.com
Date:     2007-07-26 17:37:49 -0700 (Thu, 26 Jul 2007)

Log Message:
-----------
principalForGUID(uid) -> principalForUID(uid)

Modified Paths:
--------------
    CalendarServer/branches/users/wsanchez/guid-cleanup/twistedcaldav/directory/calendaruserproxy.py

Modified: CalendarServer/branches/users/wsanchez/guid-cleanup/twistedcaldav/directory/calendaruserproxy.py
===================================================================
--- CalendarServer/branches/users/wsanchez/guid-cleanup/twistedcaldav/directory/calendaruserproxy.py	2007-07-27 00:10:15 UTC (rev 1719)
+++ CalendarServer/branches/users/wsanchez/guid-cleanup/twistedcaldav/directory/calendaruserproxy.py	2007-07-27 00:37:49 UTC (rev 1720)
@@ -267,7 +267,7 @@
         if self.hasEditableMembership():
             # Get member UIDs from database and map to principal resources
             members = self._index().getMembers(self.uid)
-            return [self.pcollection.principalForGUID(uid) for uid in members]
+            return [self.pcollection.principalForUID(uid) for uid in members]
         else:
             # Fixed proxies are only for read-write - the read-only list is empty
             if self.proxyType == "calendar-proxy-write":
@@ -278,7 +278,7 @@
     def groupMemberships(self):
         # Get membership UIDs and map to principal resources
         memberships = self._index().getMemberships(self.uid)
-        return [self.pcollection.principalForGUID(uid) for uid in memberships]
+        return [self.pcollection.principalForUID(uid) for uid in memberships]
 
     def hasEditableMembership(self):
         return self.parent.hasEditableProxyMembership()

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


More information about the calendarserver-changes mailing list