[CalendarServer-changes] [8741] CalendarServer/branches/users/wsanchez/d2/twistedcaldav/util.py

source_changes at macosforge.org source_changes at macosforge.org
Tue Feb 21 13:01:34 PST 2012


Revision: 8741
          http://trac.macosforge.org/projects/calendarserver/changeset/8741
Author:   sagen at apple.com
Date:     2012-02-21 13:01:34 -0800 (Tue, 21 Feb 2012)
Log Message:
-----------
pycalendar wants utf-8

Modified Paths:
--------------
    CalendarServer/branches/users/wsanchez/d2/twistedcaldav/util.py

Modified: CalendarServer/branches/users/wsanchez/d2/twistedcaldav/util.py
===================================================================
--- CalendarServer/branches/users/wsanchez/d2/twistedcaldav/util.py	2012-02-21 21:01:16 UTC (rev 8740)
+++ CalendarServer/branches/users/wsanchez/d2/twistedcaldav/util.py	2012-02-21 21:01:34 UTC (rev 8741)
@@ -455,7 +455,7 @@
         # in a parameter value except as the start/end delimiters.
         # Single quotes are allowed, so we convert any double-quotes
         # to single-quotes.
-        fullName = rec.fullName.decode("utf-8").replace('"', "'")
+        fullName = rec.fullName.replace('"', "'")
 
         # TODO: remove V1Compatibility when V1 migration is complete
         if config.Scheduling.Options.V1Compatibility:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20120221/9439b814/attachment-0001.html>


More information about the calendarserver-changes mailing list