[CalendarServer-changes] [10676] CalendarServer/trunk/twext/who/directory.py
source_changes at macosforge.org
source_changes at macosforge.org
Mon Feb 11 11:33:01 PST 2013
Revision: 10676
http://trac.calendarserver.org//changeset/10676
Author: wsanchez at apple.com
Date: 2013-02-11 11:33:01 -0800 (Mon, 11 Feb 2013)
Log Message:
-----------
Don't need inlineCallbacks here
Modified Paths:
--------------
CalendarServer/trunk/twext/who/directory.py
Modified: CalendarServer/trunk/twext/who/directory.py
===================================================================
--- CalendarServer/trunk/twext/who/directory.py 2013-02-11 18:49:10 UTC (rev 10675)
+++ CalendarServer/trunk/twext/who/directory.py 2013-02-11 19:33:01 UTC (rev 10676)
@@ -101,9 +101,8 @@
returnValue(results)
- @inlineCallbacks
def recordsWithFieldValue(self, fieldName, value):
- returnValue((yield self.recordsFromExpression(DirectoryQueryMatchExpression(fieldName, value))))
+ return self.recordsFromExpression(DirectoryQueryMatchExpression(fieldName, value))
@inlineCallbacks
def recordWithUID(self, uid):
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20130211/f4d05668/attachment-0001.html>
More information about the calendarserver-changes
mailing list