[CalendarServer-changes] [3759] CalendarServer/branches/users/sagen/migration-3752/twistedcaldav/ upgrade.py
source_changes at macosforge.org
source_changes at macosforge.org
Thu Feb 26 19:12:01 PST 2009
Revision: 3759
http://trac.macosforge.org/projects/calendarserver/changeset/3759
Author: sagen at apple.com
Date: 2009-02-26 19:11:59 -0800 (Thu, 26 Feb 2009)
Log Message:
-----------
vobject wants Unicode, but directory records are utf-8 encoded python strings
Modified Paths:
--------------
CalendarServer/branches/users/sagen/migration-3752/twistedcaldav/upgrade.py
Modified: CalendarServer/branches/users/sagen/migration-3752/twistedcaldav/upgrade.py
===================================================================
--- CalendarServer/branches/users/sagen/migration-3752/twistedcaldav/upgrade.py 2009-02-27 03:03:07 UTC (rev 3758)
+++ CalendarServer/branches/users/sagen/migration-3752/twistedcaldav/upgrade.py 2009-02-27 03:11:59 UTC (rev 3759)
@@ -81,7 +81,8 @@
if principal is None:
return (None, None, None)
else:
- return (principal.record.fullName, principal.record.guid,
+ return (principal.record.fullName.decode("utf-8"),
+ principal.record.guid,
principal.record.calendarUserAddresses)
cal.normalizeCalendarUserAddresses(lookupFunction)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20090226/b6e158be/attachment-0001.html>
More information about the calendarserver-changes
mailing list