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

source_changes at macosforge.org source_changes at macosforge.org
Tue Feb 21 08:47:29 PST 2012


Revision: 8735
          http://trac.macosforge.org/projects/calendarserver/changeset/8735
Author:   sagen at apple.com
Date:     2012-02-21 08:47:29 -0800 (Tue, 21 Feb 2012)
Log Message:
-----------
Call removeParameter instead of removeParameterValue

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

Modified: CalendarServer/trunk/twistedcaldav/ical.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/ical.py	2012-02-21 16:41:03 UTC (rev 8734)
+++ CalendarServer/trunk/twistedcaldav/ical.py	2012-02-21 16:47:29 UTC (rev 8735)
@@ -2552,8 +2552,7 @@
                     oldExternalCUA = prop.parameterValue("CALENDARSERVER-OLD-CUA")
                     if oldExternalCUA:
                         newaddr = oldExternalCUA
-                        prop.removeParameterValue("CALENDARSERVER-OLD-CUA",
-                            oldExternalCUA)
+                        prop.removeParameter("CALENDARSERVER-OLD-CUA")
                     elif oldemail:
                         # Use the EMAIL parameter if it exists
                         newaddr = oldemail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20120221/e8136c8c/attachment-0001.html>


More information about the calendarserver-changes mailing list