[CalendarServer-changes] [13676] twext/trunk/twext/who/opendirectory/_service.py
source_changes at macosforge.org
source_changes at macosforge.org
Mon Jun 23 22:07:09 PDT 2014
Revision: 13676
http://trac.calendarserver.org//changeset/13676
Author: sagen at apple.com
Date: 2014-06-23 22:07:09 -0700 (Mon, 23 Jun 2014)
Log Message:
-----------
Grab the names of the recordTypes
Modified Paths:
--------------
twext/trunk/twext/who/opendirectory/_service.py
Modified: twext/trunk/twext/who/opendirectory/_service.py
===================================================================
--- twext/trunk/twext/who/opendirectory/_service.py 2014-06-23 20:23:42 UTC (rev 13675)
+++ twext/trunk/twext/who/opendirectory/_service.py 2014-06-24 05:07:09 UTC (rev 13676)
@@ -547,7 +547,7 @@
if not scrubbedRecordTypes:
# None of the requested recordTypes are supported.
- raise UnsupportedRecordTypeError(u",".join(recordTypes))
+ raise UnsupportedRecordTypeError(u",".join(r.name for r in recordTypes))
query, error = ODQuery.queryWithNode_forRecordTypes_attribute_matchType_queryValues_returnAttributes_maximumResults_error_(
node,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140623/652f1e42/attachment.html>
More information about the calendarserver-changes
mailing list