[CalendarServer-changes] [13213] twext/trunk/twext/who/ldap/_service.py
source_changes at macosforge.org
source_changes at macosforge.org
Tue Apr 8 20:00:04 PDT 2014
Revision: 13213
http://trac.calendarserver.org//changeset/13213
Author: sagen at apple.com
Date: 2014-04-08 20:00:04 -0700 (Tue, 08 Apr 2014)
Log Message:
-----------
Fix for single-values
Modified Paths:
--------------
twext/trunk/twext/who/ldap/_service.py
Modified: twext/trunk/twext/who/ldap/_service.py
===================================================================
--- twext/trunk/twext/who/ldap/_service.py 2014-04-09 00:30:56 UTC (rev 13212)
+++ twext/trunk/twext/who/ldap/_service.py 2014-04-09 03:00:04 UTC (rev 13213)
@@ -449,8 +449,8 @@
if valueType in (unicode, UUID):
if not isinstance(value, list):
- value = list(value)
- newValue = list()
+ value = [value]
+ newValue = []
for singleValue in value:
singleValue = valueType(singleValue)
newValue.append(singleValue)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140408/4701b281/attachment.html>
More information about the calendarserver-changes
mailing list