[CalendarServer-changes] [13302] CalendarServer/trunk/twistedcaldav/ical.py

source_changes at macosforge.org source_changes at macosforge.org
Wed Apr 16 12:54:24 PDT 2014


Revision: 13302
          http://trac.calendarserver.org//changeset/13302
Author:   cdaboo at apple.com
Date:     2014-04-16 12:54:24 -0700 (Wed, 16 Apr 2014)
Log Message:
-----------
Leave CUTYPE=INDIVIDUAL in place if already present and correct.

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

Modified: CalendarServer/trunk/twistedcaldav/ical.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/ical.py	2014-04-16 19:52:50 UTC (rev 13301)
+++ CalendarServer/trunk/twistedcaldav/ical.py	2014-04-16 19:54:24 UTC (rev 13302)
@@ -3380,11 +3380,8 @@
                     else:
                         prop.removeParameter("EMAIL")
 
-                if cutype == "INDIVIDUAL":
-                    cutype = None
-
                 if cutype != prop.parameterValue("CUTYPE"):
-                    if cutype:
+                    if cutype and cutype != "INDIVIDUAL":
                         prop.setParameter("CUTYPE", cutype)
                     else:
                         prop.removeParameter("CUTYPE")
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140416/dbc0a406/attachment.html>


More information about the calendarserver-changes mailing list