[CalendarServer-changes] [8018] CalendarServer/trunk/contrib/performance/loadtest/ical.py

source_changes at macosforge.org source_changes at macosforge.org
Thu Aug 25 17:08:27 PDT 2011


Revision: 8018
          http://trac.macosforge.org/projects/calendarserver/changeset/8018
Author:   sagen at apple.com
Date:     2011-08-25 17:08:27 -0700 (Thu, 25 Aug 2011)
Log Message:
-----------
StringProducer likes strings

Modified Paths:
--------------
    CalendarServer/trunk/contrib/performance/loadtest/ical.py

Modified: CalendarServer/trunk/contrib/performance/loadtest/ical.py
===================================================================
--- CalendarServer/trunk/contrib/performance/loadtest/ical.py	2011-08-25 18:21:27 UTC (rev 8017)
+++ CalendarServer/trunk/contrib/performance/loadtest/ical.py	2011-08-26 00:08:27 UTC (rev 8018)
@@ -645,9 +645,9 @@
 
 
     def addEventAttendee(self, href, attendee):
-        name = attendee.parameterValue('CN')
+        name = attendee.parameterValue('CN').encode("utf-8")
         prefix = name[:4].lower()
-        email = attendee.parameterValue('EMAIL')
+        email = attendee.parameterValue('EMAIL').encode("utf-8")
 
         event = self._events[href]
         vevent = event.vevent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110825/8dbc6848/attachment-0001.html>


More information about the calendarserver-changes mailing list