[CalendarServer-changes] [475] CalendarServer/trunk/twistedcaldav

source_changes at macosforge.org source_changes at macosforge.org
Wed Nov 15 14:23:32 PST 2006


Revision: 475
          http://trac.macosforge.org/projects/calendarserver/changeset/475
Author:   wsanchez at apple.com
Date:     2006-11-15 14:23:31 -0800 (Wed, 15 Nov 2006)

Log Message:
-----------
Add some args to provisionCalendarAccount() so we can run.

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

Modified: CalendarServer/trunk/twistedcaldav/directory/resource.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/directory/resource.py	2006-11-15 21:48:55 UTC (rev 474)
+++ CalendarServer/trunk/twistedcaldav/directory/resource.py	2006-11-15 22:23:31 UTC (rev 475)
@@ -501,7 +501,7 @@
 
         if (new):
             principal.provisionCalendarAccount(name, None, True, None, self.calendarhomeroot,
-                                               None, ["calendar"], self.type == DirectoryTypePrincipalProvisioningResource.typeResource)
+                                               None, None, ["calendar"], self.type == DirectoryTypePrincipalProvisioningResource.typeResource, False)
         
         # Add directory specific attributes to principal
         principal.setPropertyValue(realname, davxml.DisplayName)

Modified: CalendarServer/trunk/twistedcaldav/static.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/static.py	2006-11-15 21:48:55 UTC (rev 474)
+++ CalendarServer/trunk/twistedcaldav/static.py	2006-11-15 22:23:31 UTC (rev 475)
@@ -734,7 +734,7 @@
         Provision the principal and a calendar account for it.
         
         @param name: C{str} name (uid) of principal.
-        @param pswd: C{str} password for BASIC authentication, of C{None}.
+        @param pswd: C{str} password for BASIC authentication, or C{None}.
         @param resetacl: C{True} if ACLs on the principal resource should be reset.
         @param cuaddrs: C{list} list of calendar user addresses, or C{None}
         @param cuhome: C{tuple} of (C{str} - URI of calendar home root, L{DAVResource} - resource of home root)

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


More information about the calendarserver-changes mailing list