[CalendarServer-changes] [59]
CalendarServer/branches/users/cdaboo/acl-merge/twistedcaldav/repository.py
source_changes at macosforge.org
source_changes at macosforge.org
Thu Aug 24 13:18:08 PDT 2006
Revision: 59
Author: cdaboo at apple.com
Date: 2006-08-24 13:18:06 -0700 (Thu, 24 Aug 2006)
Log Message:
-----------
Bypass deferred for calendar creation as repository build takes place before reactor starts
running so deferreds don't work.
Modified Paths:
--------------
CalendarServer/branches/users/cdaboo/acl-merge/twistedcaldav/repository.py
Modified: CalendarServer/branches/users/cdaboo/acl-merge/twistedcaldav/repository.py
===================================================================
--- CalendarServer/branches/users/cdaboo/acl-merge/twistedcaldav/repository.py 2006-08-24 20:11:38 UTC (rev 58)
+++ CalendarServer/branches/users/cdaboo/acl-merge/twistedcaldav/repository.py 2006-08-24 20:18:06 UTC (rev 59)
@@ -641,7 +641,10 @@
child = CalDAVFile(os.path.join(home.fp.path, calendar))
child_exists = child.exists()
if not child_exists:
- child.createCalendarCollection()
+ c = child.createCalendarCollection()
+ assert c.called
+ c = c.result
+
calendars.append(childURL)
if (resetACLs or not child_exists):
child.setAccessControlList(
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20060824/b899330f/attachment.html
More information about the calendarserver-changes
mailing list