[CalendarServer-changes] [6263] CalendarServer/trunk/twistedcaldav/sharing.py

source_changes at macosforge.org source_changes at macosforge.org
Thu Sep 9 06:16:15 PDT 2010


Revision: 6263
          http://trac.macosforge.org/projects/calendarserver/changeset/6263
Author:   cdaboo at apple.com
Date:     2010-09-09 06:16:14 -0700 (Thu, 09 Sep 2010)
Log Message:
-----------
Fix logic for setting transp.

Modified Paths:
--------------
    CalendarServer/trunk/twistedcaldav/sharing.py

Modified: CalendarServer/trunk/twistedcaldav/sharing.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/sharing.py	2010-09-09 03:22:41 UTC (rev 6262)
+++ CalendarServer/trunk/twistedcaldav/sharing.py	2010-09-09 13:16:14 UTC (rev 6263)
@@ -993,7 +993,7 @@
             yield sharedCollection.writeProperty(davxml.DisplayName.fromString(displayname), request)
         
         # Calendars always start out transparent
-        if oldShare and sharedCollection.isCalendarCollection():
+        if not oldShare and sharedCollection.isCalendarCollection():
             yield sharedCollection.writeProperty(caldavxml.ScheduleCalendarTransp(caldavxml.Transparent()), request)
  
         # Notify client of changes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100909/a6fd5fa5/attachment.html>


More information about the calendarserver-changes mailing list