[CalendarServer-changes] [949] CalendarServer/branches/users/dreid/principalsOnDemand-114-2/ twistedcaldav/directory/principal.py

source_changes at macosforge.org source_changes at macosforge.org
Fri Jan 5 14:28:33 PST 2007


Revision: 949
          http://trac.macosforge.org/projects/calendarserver/changeset/949
Author:   dreid at apple.com
Date:     2007-01-05 14:28:33 -0800 (Fri, 05 Jan 2007)

Log Message:
-----------
remove comments about principals being used prior to request lookups, since the way we look up principals now will cause them to be provisioned.

Modified Paths:
--------------
    CalendarServer/branches/users/dreid/principalsOnDemand-114-2/twistedcaldav/directory/principal.py

Modified: CalendarServer/branches/users/dreid/principalsOnDemand-114-2/twistedcaldav/directory/principal.py
===================================================================
--- CalendarServer/branches/users/dreid/principalsOnDemand-114-2/twistedcaldav/directory/principal.py	2007-01-05 21:42:33 UTC (rev 948)
+++ CalendarServer/branches/users/dreid/principalsOnDemand-114-2/twistedcaldav/directory/principal.py	2007-01-05 22:28:33 UTC (rev 949)
@@ -79,10 +79,6 @@
         # FIXME: Smells like a hack
         directory.principalCollection = self
 
-        # Provision in __init__() because principals are used prior to request
-        # lookups.
-#         self.provision()        # 
-
         # Create children
         for recordType in self.directory.recordTypes():
             self.putChild(recordType, DirectoryPrincipalTypeResource(self.fp.child(recordType).path, self, recordType))
@@ -175,10 +171,6 @@
         self.recordType = recordType
         self.parent = parent
 
-        # Provision in __init__() because principals are used prior to request
-        # lookups.
-#         self.provision()
-
     def principalForUser(self, user):
         return self.parent.principalForUser(user)
 

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


More information about the calendarserver-changes mailing list