[CalendarServer-changes] [13416] twext/trunk/twext/who/checker.py
source_changes at macosforge.org
source_changes at macosforge.org
Fri May 2 18:25:05 PDT 2014
Revision: 13416
http://trac.calendarserver.org//changeset/13416
Author: sagen at apple.com
Date: 2014-05-02 18:25:05 -0700 (Fri, 02 May 2014)
Log Message:
-----------
Decode short names to utf-8
Modified Paths:
--------------
twext/trunk/twext/who/checker.py
Modified: twext/trunk/twext/who/checker.py
===================================================================
--- twext/trunk/twext/who/checker.py 2014-05-03 01:22:46 UTC (rev 13415)
+++ twext/trunk/twext/who/checker.py 2014-05-03 01:25:05 UTC (rev 13416)
@@ -65,7 +65,7 @@
)
record = yield self.service.recordWithShortName(
- RecordType.user, credentials.username
+ RecordType.user, credentials.username.decode("utf-8")
)
if record is None:
@@ -110,7 +110,7 @@
)
record = yield self.service.recordWithShortName(
- RecordType.user, credentials.username
+ RecordType.user, credentials.username.decode("utf-8")
)
if record is None:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140502/95dfb7f8/attachment.html>
More information about the calendarserver-changes
mailing list